This is a migrated thread and some comments may be shown as answers.

AJAX Request on RadWindow close...

1 Answer 139 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 20 May 2010, 05:02 PM
Is there a way to cause an AJAX Request so that a RadAJAXPanel will fire an AJAX event on  Close of a RadWindow.. I know this is a very simple one, might just be the time of the day!!!

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 21 May 2010, 06:30 AM
Hello Kevin,

Attach the OnClientClose() event to RadWindow and invoke the ajaxRequest explicitly using client code.

client code:
 
    function OnClientClose() { 
         var ajaxPanel = $find("<%= RadAjaxPanel1.ClientID %>"); 
         ajaxPanel.ajaxRequest(arguments); 
    } 

Checkout the following documentation to know more on invoking ajaxrequest.
AJAX Panel
Client-Side API

-Shinu.
Tags
Window
Asked by
Kevin
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or