refresh Ajax UpdatePanel on RadWindow Close

2 posts, 0 answers
  1. Brett
    Brett avatar
    184 posts
    Member since:
    Jun 2006

    Posted 18 Mar 2008 Link to this post

    I am not sure what forum to post this in, but I think it is more Ajax related than RadWindow so I will post here.

    I have an Ajax Update Panel which contains an GridView, the gridview has a button that launches a RadWindow that contains a FormView, when you click insert/update on the formview is does the insert/update and closes the RadWindow.

    However at this point I would also like the Update Panel (that holds the gridview) refreshed.

    My RadAjaxManager looks like this:
      <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
                        <telerik:AjaxSetting AjaxControlID="winContact">    
                                <telerik:AjaxUpdatedControl ControlID="rapListings"></telerik:AjaxUpdatedControl>    

    Any ides why it is not working?  I belive it is because my RadWindow closes on client side, so how do I call my ajax update using the "OnClientClose" of the RadWindow?
  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 19 Mar 2008 Link to this post

    Hello bslaght,

    Consider invoking the ajaxRequest(eventArgs) method of the manager explicitly when the window instance is closed on the client. The integration example using RadGrid, RadWindow and RadAjax in this section of the RadControls Prometheus QSF can get you started in your implementation:

    We will update soon the relevant KB article on our site as well.

    Best regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top