Hi,
I tried your demo, it works. But in my case, it doesn't.
My original javascript:
function showMessageWindow() {
// open the default error radwindow
var oBrowserWnd = GetRadWindow().BrowserWindow;
var w = oBrowserWnd.radopen('/Common/RadWindows/MessageWindow.aspx', 'rwMessageWindow');
w.setSize(400, 300);
}
The above works.
If i change as follows:
function showMessageWindow() {
// open the default error radwindow
var parentWindow = GetRadWindow().get_windowManager();
var oWindow = parentWindow.open('/common/RadWindows/MessageWindow.aspx', 'rwMessageWindow');
oWindow.setSize(400, 300);
}
It doesn't work, with the following error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Wed, 29 Apr 2009 02:58:16 UTC
Message: 'undefined' is null or not an object
Line: 70
Char: 6
Code: 0
URI: http://local.intranet/functions/intranetadmin/countrysettings/Edit.aspx?cc=NEW