I am popping up a Custom Application Page using a call to SP.UI.ModalDialog.showModalDialog. Is there a way that I can close the dialog from the code behind after a user clicks a button?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
Found a solution. Add this to the end of the button click event:
|
|||
|
|
|
You can also add the Examples 1:
Example 2:
|
|||
|
|