Hi all
I have a pop up modal window, which itself has a further pop up window.
I have Teleriks script to refresh the underlying window:
And for the first pop up its works fine, problem is I have the same script on the second pop up, but the GetRadWindow() returns oWindow is undefined.
What do I need to do to get the GetRadWindow() to find both the original page and the first pop up?
function GetRadWindow() { var oWindow = null; if (window.radWindow) oWindow = window.radWindow; else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; return oWindow;}function CloseAndRebind(args) { GetRadWindow().BrowserWindow.refreshGrid(); GetRadWindow().Close();}