Rank: Newbie Groups: Member
Joined: 12/5/2008 Posts: 5
|
I've a Dialog control that displays another Web page inside it. I'm trying to determine how to force a postback when that dialog window is closed by the X or code on the page. Any suggestions on an approach for that ?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The dialog would fire your ClientSideOnCancel handler when the close button is clicked. You can then force a post back inside that handler. How to force a postback is completely a different matter that is unrelated to the dialog though. Usually you can call __doPostBack, but depending on your project, you may already have some other code that can do a post back for you. You can also use our ScriptEvent control to do a postback for you.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 12/5/2008 Posts: 5
|
Ah yes, obvious now.
Thank you.
|