In SharePoint Designer 2010, if one removes one of the default forms (say "EditForm.aspx"), how does he also remove the "Edit" option from the List Item Menu? The default forms are not represented in the "Custom Actions" pane when looking at the form settings page in SharePoint Designer.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
I was going to say use HideCustomAction, but apparently it doesnt work with the EditControlBlock. http://msdn.microsoft.com/en-us/library/ms414790.aspx http://msdn.microsoft.com/en-us/library/bb802730.aspx So i think you have to hide it with javascript http://techtrainingnotes.blogspot.com/2008/02/sharepoint-hiding-menus-not-using.html Or you can hack some system javascript files (and put your sharepoint into an unsupported state) and get HideCustomAction to work. |
|||
|
|