When I click manage permission button in ecb menu in a list a new user.aspx page is opened. I want to open this page in modal dialog. How can I do it? I know about msdn and this solutions, but the second doesn't work for me. I want to open user.aspx page in modal dialog only for one application page.
|
This should get you going. http://msdn.microsoft.com/en-us/library/ff410058.aspx
Here try this site http://kancharla-sharepoint.blogspot.com/2012/07/sharepoint-model-dialog-from-ribbon.html
|
|||||||||||
|
|
Here is how I have done it in the past: 1)Include a script on your page which will attach a custom "click" event on all the ECB buttons (the ones with the downward arrow image). The class you can use as selector for the ECB button is 2) Inside that custom event, write another function which will look for the "Manage Permissions" span with id as The way this will work is that the ECB menu is loaded on the page only after the ECB button is clicked. So we will be able to get it using jQuery only after the click event of the ECB is fired. Here is some starting code for you:
|
|||||||
|