Hi
I open my window in code behind using VisibleOnPageLoad and AjaxRequest. I also set a navigation url in this ajax request. When I want to close window I call javascript function on page which was loaded as content of the window. Function look like this:
But when window is closed, it opening itself.
I open my window in code behind using VisibleOnPageLoad and AjaxRequest. I also set a navigation url in this ajax request. When I want to close window I call javascript function on page which was loaded as content of the window. Function look like this:
<scripttype="text/javascript">function GetRadWindow() {var oWindow = null;if (window.radWindow) oWindow = window.radWindow;else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;return oWindow;}function CloseAndRebind() {GetRadWindow().BrowserWindow.selectionFinalize();GetRadWindow().Close();return false;}</script>>
But when window is closed, it opening itself.