Webpart is in edit mode?
I have a webpart in a page and I need to know how I can determine if the page is开发者_C百科 currently in edit mode. For example: if(Page.IsInEditMode)
.
Any help?
Have a look at the class System.Web.UI.WebControls.WebParts.WebPartManager
It has an EditDisplayMode property that represents the display mode in which end users can edit and modify server controls. See doc here
精彩评论