I am trying to use GetRadWindow() but it blows up in javascript...
In my case (IE 8 in compatibility mode), window.radWindow is undefined, window.frameElement is null, therefore it blows up when trying to access window.frameElement.radWindow.
This happens in my "main" (default) page.
Does this happen because the page itself was not created by the RadWindow Manager?
Since my current page is not a RadWindow... How can I find its size so that I can size new windows accordingly?
Many Thanks
Eric
| function GetRadWindow() { |
| var oWindow = null; |
| if (window.radWindow) |
| oWindow = window.radWindow; |
| else if (window.frameElement.radWindow) |
| oWindow = window.frameElement.radWindow; |
| return oWindow; |
| } |
In my case (IE 8 in compatibility mode), window.radWindow is undefined, window.frameElement is null, therefore it blows up when trying to access window.frameElement.radWindow.
This happens in my "main" (default) page.
Does this happen because the page itself was not created by the RadWindow Manager?
Since my current page is not a RadWindow... How can I find its size so that I can size new windows accordingly?
Many Thanks
Eric