Here is the List of additional methods that you can use while working with the SP.UI.Modaldialog introduced in SharePoint 2010.
window.frameElement.commonModalDialogClose - Closes the most recently opened dialog.
window.frameElement.cancelPopUp - Closes the dialog and passes SP.UI.DialogResult.Cancel as the result.
window.frameElement.commitPopup - Closes the dialog and passes SP.UI.DialogResult.OK as the result.
window.frameElement.overrideDialogResult - Overrides the dialog result that is passed back to the parent window.
window.frameElement.navigateParent - Navigates the parent window to the specified URL.
window.frameElement.dialogArgs - Contains the arguments passed into the dialog.
window.frameElement.autoSize - Autosizes the dialog.
No comments:
Post a Comment