London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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?