Open Module Popup Dialog SharePoint 2010

Monday, May 6, 2013

Fastest Way :)


function OpenPopUpPage(url, callback, width, height)

function OpenPopUpPageWithTitle(url, callback, width, height, title)

function OpenPopUpPageWithDialogOptions(dialogOptions)




Or  you can use this Custom Function

//Add Dialog for Update,New Forms


function dialogfunction(pageUrl) {
    var options = { url: pageUrl, width: 400, height: 300 };
    SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options);
}






To Use above Function need Following SharePoint
 JavaScript libraries


SP.UI.Dialog.js
SP.Core.js
SP.js,




share this post
Share to Facebook Share to Twitter Share to Google+ Share to Stumble Upon Share to Evernote Share to Blogger Share to Email Share to Yahoo Messenger More...

0 comments: