3rd level radwindow to 2nd level radwindow

2 posts, 0 answers
  1. neebs
    neebs avatar
    106 posts
    Member since:
    Apr 2007

    Posted 09 Aug 2011 Link to this post


    I'm used to refreshing a parent grid from a radwindow using the following code:

    function CloseOnReload() {

    and in the parent page:

    function refreshChart() {
        $find("<%= RadAjaxManagerBinAssignmentDetail.ClientID %>").ajaxRequest("RefreshChart");

    However I now have a situation where a page opens a RadWindow which then opens another RadWindow. I'd like the second radwindow opened to invoke the first function above, to refresh the 1st RadWindow opened. However it seems to want to address the original browser window. So in summary:

    Page opens RadWindow1
    RadWindow1 opens RadWindow2
    RadWindow2's needs to call a javascript function in RadWindow1 to have it's content refresh when RadWindow2 is closed.

    Thanks for anyone's help.

  2. Marin Bratanov
    Marin Bratanov avatar
    3564 posts

    Posted 11 Aug 2011 Link to this post

    Hello Steve,

      You must get a reference to RadWindow1 first. There are several ways to do this - by storing it in a global variable when you first open it, by the $find() method or via the RadWindowManager's getWindowByName() method. This is executed in the context of the main page. Then you can execute a function that is declared in its content page as described in the following help article: http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html.

    Best wishes,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top