Reference:
If you want to show added verbs when page in display mode use below code
WebPartManager wpmgr = WebPartManager.GetCurrentWebPartManager(Page);
if (wpmgr.DisplayMode == WebPartManager.BrowseDisplayMode)
{
// write code here to add verb menu.
}
No comments:
Post a Comment