Opticon Stockholm is on Tuesday September 10th, hope to see you there!
AI OnAI Off
Opticon Stockholm is on Tuesday September 10th, hope to see you there!
In the page template, I think you should be able to use the OnInit or OnLoad event handler or similar to set ContextMenu.IsMenuEnabled = false.
This will solve your problem
protected override void OnPreInit(EventArgs)
{
ContextMenu.IsMenuEnabled = false;
base.OnPreInit(e);
}
/Stefan
Good morning,
I'd like to disable the right click menu on certain page types. Is this possible? The only source I've got on the topic is this one but it doesn't clear things out for me.
http://world.episerver.com/Templates/Forum/Pages/thread.aspx?id=24048