AJAX Request on RadWindow close...

2 posts, 1 answers
  1. Kevin
    Kevin avatar
    83 posts
    Member since:
    Sep 2008

    Posted 20 May 2010 Link to this post

    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!!!
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 May 2010 Link to this post

    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.
Back to Top