Internet Explorer can not diplay the page. Operation Aborted

2 posts, 0 answers
  1. Ruth Dahan
    Ruth Dahan avatar
    27 posts
    Member since:
    Feb 2009

    Posted 22 May 2009 Link to this post

    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
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 May 2009 Link to this post

    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.
Back to Top