I have three rad windows in a rad window manager on my main page. I'd like the user to be able to make a selection in one window, then after clicking a button to close that window I'd like the second window containe din the window manager on the main page to open.
I tried using the OnClientClose event to call the other window but it's not working:
and here's my javascript:
When the default page opens the "main" rad window, the user can click a button which fires this and closes that window:
That closes the window, but how can I then get the "second" rad window to open? I tried inserting "var ownd = radopen(null, 'second') in the above CLoseOnReload function but nothing happens.
I tried using the OnClientClose event to call the other window but it's not working:
<
telerik:RadWindowManager
runat
=
"server"
ID
=
"windowManager"
Modal
=
"true"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"main"
runat
=
"server"
Modal
=
"true"
NavigateUrl
=
"mainUp.aspx"
VisibleOnPageLoad
=
"true"
OnClientClose
=
"openWindow()"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"second"
runat
=
"server"
Modal
=
"true"
NavigateUrl
=
"scope.aspx"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"third"
runat
=
"server"
Modal
=
"true"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
function
openWindow() {
var
oWnd = radopen(
null
,
"second"
);
}
function
CloseOnReload() {
GetRadWindow().Close();
}