/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var options = { url:'{SiteUrl}/_layouts/mypage.aspx?ID={ItemId}', Title: SomeTitle, dialogReturnValueCallback: function(dialogResult, returnValue) { SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK) }} SP.UI.ModalDialog.showModalDialog(options)
Comments
