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,
0 comments:
Post a Comment