Ok, so I have a page that sets visibleonpageload for a radwindow to true in the codebehind after a button click.
This works fine so long as the window is closed by the exit button in the top right.
But if I close the window by using the client side functionality like this.
after this I can't get the visibleonpageload = true to work. the page reloads on button click, but doesn't show the window.
This works fine so long as the window is closed by the exit button in the top right.
But if I close the window by using the client side functionality like this.
function GetRadWindow() { |
var oWindow = null; |
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog |
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz az well) |
return oWindow; |
} |
function returnArg(arg) { |
var oWnd = GetRadWindow(); |
if (oWnd) { |
oWnd.close(arg); |
} |
else { |
alert('oWnD Null'); |
} |
} |
after this I can't get the visibleonpageload = true to work. the page reloads on button click, but doesn't show the window.