I tried to use these Javascript calls to close my Radwindow, but it does not work at all:
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
function Close() {
var oWindow = GetRadWindow();
oWindow.argument = null;
oWindow.close();
return false;
}
I have a very old version of the telerik controls, probably dated back 2006-2007. I checked many tutorials online such as the links below, but none of the methods are working for me.
http://demos.telerik.com/aspnet-ajax/window/examples/clientsideevents/defaultcs.aspx
http://www.telerik.com/community/forums/aspnet-ajax/window/close-radwindow-programmatically.aspx
Any Suggestions....
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
function Close() {
var oWindow = GetRadWindow();
oWindow.argument = null;
oWindow.close();
return false;
}
I have a very old version of the telerik controls, probably dated back 2006-2007. I checked many tutorials online such as the links below, but none of the methods are working for me.
http://demos.telerik.com/aspnet-ajax/window/examples/clientsideevents/defaultcs.aspx
http://www.telerik.com/community/forums/aspnet-ajax/window/close-radwindow-programmatically.aspx
Any Suggestions....