Hello,
I am trying to build RadWindow functionality into a user control.
The user control contains the mark up for the radwindowmanager and everything is working in that I can get the window to open and apply all the properties (skin, size, position, behaviours etc) I need.
However also want to add an OnClientClose option to refresh the underlying page.
To do this I am envoking the following script from the page that opened the radwindow:
but this function always return a "null or not an object error".
Any advice would be much appreciated.
Bob
I am trying to build RadWindow functionality into a user control.
The user control contains the mark up for the radwindowmanager and everything is working in that I can get the window to open and apply all the properties (skin, size, position, behaviours etc) I need.
However also want to add an OnClientClose option to refresh the underlying page.
To do this I am envoking the following script from the page that opened the radwindow:
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
but this function always return a "null or not an object error".
Any advice would be much appreciated.
Bob