This is a migrated thread and some comments may be shown as answers.

Internet Explorer can not diplay the page. Operation Aborted

1 Answer 43 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ruth Dahan
Top achievements
Rank 1
Ruth Dahan asked on 22 May 2009, 05:46 PM
Hi,
 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

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 25 May 2009, 08:41 AM
Hello Ruth,

The code that you posted seems OK and at this point I cannot tell what the reason for the problem might be.
As far as I understand, the error is on the main page - if so, could you please put a simple alert in the refreshGrid() function and verify that it is called. Also please close the window after refreshGrid() is called - e.g. switch the last 2 lines of code in your CloseAndRebindGrid() function.

If this doesn't help, please open a support ticket and send us a small sample project where this issue could be reproduced. We will check it right away.



Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Ruth Dahan
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or