Hi,
I am facing "Internet Explorer can not diplay the page. Operation Aborted" with Rad Window.
The error occurs when i close the rad window and back to the parent page.
I am using javascript to open the grid and the code behind to close it from the aspx page embeded in the rad window.
code:
Default.aspx page to open window from java script. firedon button's onClientClick event:
| function ShowInsertForm() { |
| window.radopen("AddEditUser.aspx", "AddEditUserWindow").setSize(450, 600); |
| return false; |
| } |
AddEditUser.aspx page (open in the radwindow):
| function CloseAndRebindGrid() { |
| var oWindow = GetRadWindow(); |
| if (oWindow != null) { |
| oWindow.Close(); |
| oWindow.BrowserWindow.refreshGrid(); |
| } |
| } |
| function GetUserRadWindow() { |
| var oWindow = null; |
| if (window.radWindow) oWindow = window.radWindow; |
| else if (window.frameElement != null) { |
| if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; |
| } |
| return oWindow; |
| } |
and its code behind:
| protected void btnSave_Click(object sender, EventArgs e) |
| { |
| ClientScript.RegisterStartupScript(Page.GetType(), "insert", "CloseAndRebindGrid();", true); |
| } |
The error occurs after clicking the "save" button to close the rad window.
Please Advice how can i solve this issue.
Thanks!
Ruth