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é
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.