Welcome Guest Search | Active Topics | Sign In | Register

Close Dialog Window w/ Content URL and force postback Options
Jacob Beard
Posted: Tuesday, April 5, 2011 12:55:56 PM
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 ?
eo_support
Posted: Tuesday, April 5, 2011 1:27:08 PM
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!
Jacob Beard
Posted: Tuesday, April 5, 2011 2:14:06 PM
Rank: Newbie
Groups: Member

Joined: 12/5/2008
Posts: 5
Ah yes, obvious now.

Thank you.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.