How can I close a radwindow from within a multipage pageview contenturl content page.
I have a radwindow that is used like a wizard to add a record and to subscribe to the new record. I have the entire thing working but the second tab to subscribe does not cause the window to close. Please help, this is urgent. thanks you.
below is the code I use when the subscribe is not within the tabstrip/multipage/pageview and it works great, please tell me what i need to add to close from within the tabstrip/multipage/pageview
I have a radwindow that is used like a wizard to add a record and to subscribe to the new record. I have the entire thing working but the second tab to subscribe does not cause the window to close. Please help, this is urgent. thanks you.
below is the code I use when the subscribe is not within the tabstrip/multipage/pageview and it works great, please tell me what i need to add to close from within the tabstrip/multipage/pageview
function GetRadWindow() {
var oWindow = null; if (window.radWindow)
oWindow = window.radWindow; else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow; return oWindow;
}
function CloseModal() {
// GetRadWindow().close();
setTimeout(function () {
GetRadWindow().BrowserWindow.refreshGrid()
GetRadWindow().close();
}, 0);
}