I have a page that opens a radWindow (called "radUserManager") and load the UserManager.aspx page:
On UserManager.aspx, I have a radButton like this:
The CloseWindow code looks like this:
Problem is, the window does not close. Nothing seems to happen.
<
telerik:RadWindow
ID
=
"radUserManager"
runat
=
"server"
NavigateUrl
=
"UserManager.aspx"
Height
=
"500"
Width
=
"950"
Modal
=
true
Style
=
"z-index: 7001"
Behaviors
=
"Close, Reload"
Top
=
"-500px"
></
telerik:RadWindow
>
On UserManager.aspx, I have a radButton like this:
<
telerik:RadButton
ID
=
"cmdCancel"
runat
=
"server"
Skin
=
"Windows7"
Text
=
"Cancel"
Width
=
"75px"
OnClientClick
=
"CloseWindow(); return false;"
>
</
telerik:RadButton
>
The CloseWindow code looks like this:
function GetCommentRadWindow() {
var oWnd = GetRadWindowManager().getWindowByName("radUserManager");
return oWnd;
}
function CloseWindow() {
GetCommentRadWindow().close();
}
Problem is, the window does not close. Nothing seems to happen.