Rank: Advanced Member Groups: Member
Joined: 7/6/2011 Posts: 30
|
Hi there!
Is it possible to update a callbackpanel when a dialog is closed using the built in close button?
If so - how please? I can't seem to isolate the client side event when the dialog is closed.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Yes. You will need to handle ClientSideOnCancel event with JavaScript and then do whatever you want to do inside your event handler.
If you wish to trigger server event from your JavaScript code, you can call __doPostBack directly (if you know how to do that), or use our ScriptEvent control. Please check ScriptEvent control documentation for more details about how to use it. If you wish to do a partial post back instead of a full post back, you can set the ScriptEvent control as a trigger for the CallbackPanel.
Thanks!
|