[CLOSED] [1.0] Operation Aborted in IE7

Page 2 of 4 FirstFirst 1234 LastLast
  1. #11
    Quote Originally Posted by jchau View Post
    The sample is from my sandbox website with no custom code. I use it to strip down the issue to be as simple and bare as possible. This way I dont have to recreate our complex application and include unnecessary code. There's no serverside code to that sample. The error occurs in IE7 but not in IE8 or Chrome so I do believe it depends on the browser.
    Well, I'm not sure what is going on here with this sample, but this is a server-side issue. Rendering of the <Ext.Net.InitScript> tags is not browser dependent. They should be parsed out before the html/page is sent to the client.
    Geoffrey McGill
    Founder
  2. #12
    Quote Originally Posted by geoffrey.mcgill View Post
    Well, I'm not sure what is going on here with this sample, but this is a server-side issue. Rendering of the <Ext.Net.InitScript> tags is not browser dependent. They should be parsed out before the html/page is sent to the client.
    So my sample ran fine on your end with no errors on IE7? I am referring to the simple sample. I will repaste it here:

    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e) {
            Response.AddHeader("Pragma", "no-cache");
            Response.Cache.SetCacheability(HttpCacheability.NoCache);
        }
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server">
        </ext:ResourceManager>
        <ext:ResourcePlaceHolder runat="server">
        </ext:ResourcePlaceHolder>
        </form>
    </body>
    </html>
  3. #13
    Hi,

    Can you move ResourcePlaceholder outside the form?
  4. #14
    Quote Originally Posted by vladimir View Post
    Hi,

    Can you move ResourcePlaceholder outside the form?
    How can I programmatically add a control outside the form? Seems like Page.Controls.Add will always add it inside the form?
  5. #15
    Hi,

    I don't think that Page.Controls.Add adds control to the form
    Try the following sample
    <%@ Page Language="C#" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e) {
            Response.AddHeader("Pragma", "no-cache");
            Response.Cache.SetCacheability(HttpCacheability.NoCache);
    
            this.Form.Controls.Add(new ResourceManager());
            this.Form.Controls.Add(new Window());
            this.Page.Controls.Add(new ResourcePlaceHolder());
        }
    </script>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>    
        <form id="form1" runat="server">
        </form>
    </body>
    </html>
  6. #16
    I am able to move the resourceplaceholder outside of the form but still getting the same error in IE7. What was the change to ResourceManager that's making this error now in 1.0? In v0.8, it was fine for the script includes and the Ext.onReady script to be placed at the bottom of the form.
  7. #17
    Rereading your previous posts, one thing that was not addressed that may have caused confusion is the server side head control. My application does not have runat="server" on the head since we custom render out the head tags. My example actually had runat="server" in the head so that was my mistake. Is it possible for ResourceManager to work without a head server side control?

    New sample without head control. Note that it doesn't matter anymore where ResourcePlaceholder is. The page will error in IE7 always.
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e) {
            Response.AddHeader("Pragma", "no-cache");
            Response.Cache.SetCacheability(HttpCacheability.NoCache);
        }
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
    </head>
    <body>
        <ext:ResourcePlaceHolder ID="ResourcePlaceHolder1" runat="server">
        </ext:ResourcePlaceHolder>
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server">
        </ext:ResourceManager>
        </form>
    </body>
    </html>
  8. #18
    Hi,

    There's a couple issues happening here...

    1. IE7 has a bug, see http://support.microsoft.com/kb/927917. The recommended fix is to upgrade to IE8.

    How do I fix this problem?

    The easiest way for you to fix the problem is to upgrade to Internet Explorer 8. This problem no longer occurs in Internet Explorer 8. To upgrade to Internet Explorer 8, visit the following Microsoft Web site:
    Windows Internet Explorer 8: Home page

    http://www.microsoft.com/windows/int...a/default.aspx
    Obviously that doesn't really help much.

    The kb article outlines why the error is occurring.

    2. For some reason the <ext:ResourceManager> is not correctly rendering the scripts and styles into the <ext:ResourcePlaceholder> location.

    If you can not include a <head runat="server">, the next option would be to add an <ext:ResourcePlaceholder> just inside the page <body> tag. The ResourcePlaceholder must be placed directly inside the <body> and not within the <form> in order to work-around the IE7 defect.

    As mentioned, there seems to be a problem with the <ext:ResourcePlaceholder> rendering location. We're debugging and should be able to commit a fix soon.

    Once fixed, your last sample should work as expected.

    Hope this helps.
    Geoffrey McGill
    Founder
  9. #19
    That said, your sample does not appear to reproduce the original issue you posted re: the <Ext.Net.InitScript>. Did you get that one solved?

    This thread is now covering a few different issues, which might appear related, but I don't think are.
    Geoffrey McGill
    Founder
  10. #20
    Quote Originally Posted by geoffrey.mcgill View Post
    Hi,

    As mentioned, there seems to be a problem with the <ext:ResourcePlaceholder> rendering location. We're debugging and should be able to commit a fix soon.

    Once fixed, your last sample should work as expected.

    Hope this helps.
    Thanks Geoffrey. I will wait for the fix.
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Combobox Item with operation symbols
    By inaltec in forum 1.x Help
    Replies: 1
    Last Post: Feb 01, 2012, 5:39 PM
  2. Replies: 0
    Last Post: Nov 30, 2011, 12:51 PM
  3. Grid Panel Export Operation
    By sumesh in forum 1.x Help
    Replies: 1
    Last Post: May 30, 2011, 11:32 AM
  4. Operation Requires an Ajax Request
    By dan182 in forum 1.x Help
    Replies: 1
    Last Post: Feb 23, 2011, 12:58 PM
  5. This operation requires an Ajax request
    By dan182 in forum 1.x Help
    Replies: 0
    Last Post: Feb 03, 2011, 10:34 AM

Posting Permissions