Is there a way to add a link or button in the menu that appears whe开发者_如何学JAVAn you click on the top left corner of a web part in sharepoint 2010?
These menu items are usually called "Verbs", there is a decent tutorial here on adding them.
http://nishantrana.wordpress.com/2009/03/07/customizing-custom-web-part-menu-in-sharepoint/
What I did is use JQuery to look for all the Verb menus present in the page, then add a new DOM elemente to that menu tag.
I deployed this custom javascript code to all the pages using a delegate control with the id AdditionalPageHead. This delegate control added the custom script and a link to JQuery script file. JQuery was also bundled in the solution package.
精彩评论