AI OnAI Off
Ah I have also tried Emil's
string dopemode = Request.Params["DopeMode"];
if (!String.IsNullOrEmpty(dopemode) && dopemode.ToLower() == "enable")
{
// DOPE mode detected!
}
but the Request.Params collection doesn't contain anything similar to DOPE flag.
:-(
bool isDope = ContextMenu.IsMenuEnabled
&& ContextMenu.OnPageEditControl != null
&& ContextMenu.OnPageEditControl.EditMode;
Hello,
I have tried to use code found in FAQ:
Is there any other way to detect DOPE mode that works?