Hello. I can't find RadWindowManager at Window, which open by another RadWindowManager.
Ok. Main.aspx
Main Page. A
First windows opens well, but when I try open second window from the first with js:
Thanks.
Ok. Main.aspx
<telerik:RadWindowManager ID=
"winManager"
ShowContentDuringLoad=
"false"
VisibleStatusbar=
"false"
ReloadOnShow=
"true"
runat=
"server"
Skin=
"Sunset"
EnableShadow=
"true"
>
<Windows>
<telerik:RadWindow ID=
"RadWindow2"
Width=
"600"
Height=
"490"
Modal=
"true"
OnClientClose=
"OnClientClose"
NavigateUrl=
"UserRights.aspx"
runat=
"server"
Behaviors=
"Close"
>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
t USerRights.aspx I need open another popup, and get data for
USerRights
page. So I've got atUSerRights
<telerik:RadWindowManager ID=
"winManager2"
ShowContentDuringLoad=
"false"
VisibleStatusbar=
"false"
ReloadOnShow=
"true"
runat=
"server"
Skin=
"Sunset"
EnableShadow=
"true"
>
<Windows>
<telerik:RadWindow ID=
"RadWindow1"
Behaviors=
"Close"
OnClientClose=
"OnClientClose"
NavigateUrl=
"ChooseUsersGroups.aspx"
runat=
"server"
Height=
"500"
Width=
"500"
>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<button title="Add" id="btAdd" onclick="openSearchWindow(); return false;">Add</button>
First windows opens well, but when I try open second window from the first with js:
function
openSearchWindow()
{
var
parentRadWindowManager = GetRadWindowManager();
var
oWnd2 = parentRadWindowManager.open(
"ChooseUsersGroups.aspx"
,
"RadWindow1"
);
window.setTimeout(
function
() {
oWnd2.setActive(
true
);
}, 0);
}
GetRadWindowManager()
returns undefined. If i try find WindowManager from parentpage(as in your sample) all is ok. Why I can't get WindowManager at secondpage?Thanks.