refresh Ajax UpdatePanel on RadWindow Close

2 posts, 0 answers
  1. bslaght
    bslaght 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 ASP.net 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">  
             <AjaxSettings>    
                        <telerik:AjaxSetting AjaxControlID="winContact">    
                            <UpdatedControls>    
                                <telerik:AjaxUpdatedControl ControlID="rapListings"></telerik:AjaxUpdatedControl>    
                            </UpdatedControls>    
                        </telerik:AjaxSetting>    
                    </AjaxSettings>    
        </telerik:RadAjaxManager> 

    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
    Admin
    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:

    http://www.telerik.com/DEMOS/ASPNET/Prometheus/Controls/Examples/Integration/GridAndWindow/DefaultCS.aspx

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

    Best regards,
    Stephen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top