I am trying to use an AjaxControlTookit ModalPopupExtender for the first time.
A button on the parent page displays an asp.panel which contains an iFrame whose source is another aspx page.
When the user has finished with the popup, I'd like there to be button which:
1) causes some codebehind to write values to my database
2) closes the popup (equivalent to the "CancelControlID" button click action)
3) rebinds a dropdown on the parent page.
I can do 1) with a button on the child page firing codebehind.
I'm pretty sure I can do 2 and 3) with a button on the parent page mapped to the CancelControlID of the PopupExtender.
How can I do 1), 2) and 3) with one button and which page does it need to be on?