This is a migrated thread and some comments may be shown as answers.

call radwindow from radwindow

1 Answer 124 Views
Window
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 16 Jul 2020, 08:48 PM

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?)

 

 

 

1 Answer, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 17 Jul 2020, 08:41 PM

SOLVED:

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

 

 

Tags
Window
Asked by
Thomas
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
Share this question
or