开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜