Try our conversational search powered by Generative AI!

Show Context Menu for all users



I am trying to show the EPiServer right click menu for all users. However setting the page.ContextMenu.IsMenuEnabled to true does not seem to be enough. Is there a way to accomplish this? I don´t want all users to have access to edit mode, just the context menu, could this be done? Any suggestions?

Oct 29, 2012 9:28

Just setting IsMenuEnabled to true is not enough. There are more access checks done so the right options are created depending on the current user accessrights.

I guess you could do your own contextmenu control and replace the default one on your page templates.

If you don't have reflector I recommend you download it so you can check out how the contextmenu works.



Oct 29, 2012 10:56

Thanks for the reply!

The issue I was having was actually caused by adding custom items to the menu without the proper access rights.

Using EPiServer.Security.AccessLevel.NoAccess when adding the items solved the problem for me.

Oct 29, 2012 12:22
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.