View or Edit Mode

Member since: 2007

Is there a way to get the current page mode from code behind?

I want to know if the page is displayed in EPiServer Edit Mode or in View Mode.

Regards, Andreas Ek, Internetfabriken AB

Feb 09, 2009 10:57
Anders Hattestad
Member since: 1996
I quess you could check if the Request["id"] contains _ then it you will be in Edit Mode. at least for local oage provider :)
Feb 09, 2009 12:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.