Try our conversational search powered by Generative AI!

Remove Edit-mode from RightClickMenu

Vote:
 
I would like to hide the "Edit-mode" option in the Right Click Menu for certain groups of editors. I found the RightClickMenu in the TemplatePage class but can't really see how to do that. /René
#12377
Sep 23, 2005 15:45
Vote:
 
One way of accomplishing this is to remove the users from the group "WebEditors" (but which also would block them from Edit mode altogether).
#14154
Sep 23, 2005 15:49
Vote:
 
You can use the following attribute to remove edit-mode and admin-mode from the right click menu: [RightClickMenu(EnableModeLinks=false)] public class StandardPage : TemplatePage { (....) } See the SDK under RightClickMenuAttribute for more information.
#14155
Sep 23, 2005 16:11
* 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.