Hi,
I am using Rad Component Version 2011.2.906.35
I want to open window in parent from another window
But this code don't work at Fire Fox 7.0
And also work fine in IE 9
I am using Rad Component Version 2011.2.906.35
I want to open window in parent from another window
But this code don't work at Fire Fox 7.0
And also work fine in IE 9
<
script
language
=
"javascript"
type
=
"text/javascript"
>
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;//IE (and Moz as well)
return oWindow;
}
function opwn_window_2() {
var oBrowserWnd = GetRadWindow().BrowserWindow;
oBrowserWnd.radopen("http://www.google.com", "RadWindow2");
}
</
script
>