Adding a custom verb to all web parts in SharePoint
So i was trying to add a menu item to all web parts in a SharePoint 2007 site collection. Surely such a thing should be simple to achieve. I expected it to be implemented in a similar way to adding to the ECB drop downs in a document library or something like the site actions menu. However menu items on web parts are implemented by the base ASP.Net web part framework using a concept called verbs.
The verbs for a web part are stored on the
This can be done with JQuery and a couple of web services. I created a delegate control containing my script and injected it into the page head. Running the line below on page load will inject a custom menu item into all webpart dropdowns on the page.
If anyone has any other approaches to this problem i would love to hear about them