Tuesday, 13 April 2010

Create Open Tool Pane link in custom sharepoint webpart.

Below is the way to open a tool pane from custom webpart.


<a href=\"javascript:MSOTlPn_ShowToolPane2Wrapper('Edit', this,'" + this.ID + "')\">Open tool pane</a>


Just add this link in the webpart and it will do the trick. It even works fine in SharePoint 2010!!!




Happy Coding...



No comments:

Post a Comment