I have a custom page that I load in a SharePoint dialog. I call the javascript from an ASPX page, but when I close the dialog I want the javascript callback to "push" a value back to my ASPX page. Is this possible?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
Here's what I've done:
It's was more an javascript thing than a Sharepoint one. |
|||
|
|
|
Yes, certainly it's possible and can be done through Sample code for popping up the dialog:
... and for returning the value (from CustomDialogPage.aspx):
If you're using postbacks and server-side code in your custom dialog page, you should use the following code to achieve this:
|
|||||
|