I have a webpart in a page and I need to know how I can determine if the page is 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With