i was wondering is there is a way to use existing modal popup already use by the sharepoint site and override their callbacks ?
Thanks
|
i was wondering is there is a way to use existing modal popup already use by the sharepoint site and override their callbacks ? Thanks |
|||
|
|
|
Yea, there is a dialogReturnValueCallback option when using the SP.UI.ModalDialog.showModalDialog. See http://msdn.microsoft.com/en-us/library/ff410058%28v=office.14%29.aspx In the callback function you can test to see whether the user clicked ok or cancel to close the dialog.
|
|||||||||||
|