Is the webpart in edit mode?

I have a webpage on the page and I need to know how I can determine if the page is in edit mode. For example: if(Page.IsInEditMode).

Any help?

+5
source share
1 answer

Take a look at the System.Web.UI.WebControls.WebParts.WebPartManager class

It has the EditDisplayMode property , which represents a display mode in which end users can edit and modify server controls. See Doc here

+4
source

All Articles