call radwindow from radwindow

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    14 posts
    Member since:
    Nov 2016

    Posted 16 Jul 2020 Link to this post

    First off, I apologize for posting a new question on this issue, but I'm still not clear how to do this after having looked at the various samples and documentation.

    I have a from with a link in the parent page. When the link is clicked, it calls a radwindow:

    function openRadWindow(fileNameAndIP, windowName, width, height) {
        var oWnd = radopen(fileNameAndIP, windowName);
        oWnd.set_visibleStatusbar(false);
        oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move);
        oWnd.set_destroyOnClose(true);
        oWnd.set_width(width);
        oWnd.set_height(height);
        oWnd.set_modal(true);
        oWnd.set_overlay(false);
        oWnd.set_iconUrl("../Icons/favicon-16x16.png");
        oWnd.center();
    };

    I call it this way from either a linkbutton or a link in a Radgrid:

    OnClientClick="openRadWindow('../IP/dlgIPDetail.aspx?IP=" + host.Ipv4 + "','wIPLookup','1000','510');return false;"

     

    I have this windowManager in the parent page:

    <telerik:RadWindowManager ID="rwManager" runat="server">
        <Windows>
            <telerik:RadWindow ID="wIPLookup" runat="server" Overlay="true" />
        </Windows>
    </telerik:RadWindowManager>

     

    From the initial window, I want to call a larger window and pass a value similar to the way I call the initial window that needs to be on top of the original window. The examples and docs that I have looked at have some JS snippets that don't fully explain (at least that I can understand) the entire relationship between the windows. I need to know where to add the JS for calling the second window, and where (or whether) to create additional windows entries in the RadWindowManager/s ( on the parent page, or in a RadWindowManager on the first window that calls the second window?)

     

     

     
  2. Thomas
    Thomas avatar
    14 posts
    Member since:
    Nov 2016

    Posted 17 Jul 2020 Link to this post

    SOLVED:

    I found this demo:https://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx

     

     

Back to Top