UpdateProgress Control and Delays in IE

Discussion in 'ASP .Net' started by BJ, Oct 8, 2008.

  1. BJ

    BJ Guest

    I have three coordinated UpdatePanels on a page. I set up a single
    UpdateProgress control on the page to cover all three update events and show
    a nice animated gif.

    In Firefox, this works with no problems -- the gif animation pops up, the
    update completes in less than two seconds, the gif disappears.

    In IE 7, when you click on an item that should trigger an update, it take
    about seven seconds for the UpdateProgress control to show the gif animation
    (which shows up frozen or jerky), and about another five seconds for the
    update to complete.

    During this process in IE, CPU usage (on a dual core) pops to and stays at
    50%. With Firefox CPU usage jumps to about 13%, drops to near zero, then
    pops back to 13% when the results come back.

    I tried getting rid of the gif animation and replaced it with a simple text
    message. No change in behavior.

    When I comment out the UpdateProgress control, IE 7 performs comparable to
    Firefox -- no perceptible delay, update completes in under two seconds, and
    CPU usage pattern is similar.


    Below is the UpdateProgress control code. Can you please tell me why this
    was causing such delays in IE 7?

    <asp:UpdateProgress ID="ctlUpdateProgress" DynamicLayout="true"
    runat="server">
    <ProgressTemplate>
    <div class="LoaderContainer">
    <div class="Loader">
    <img src ="/_images/Common/loader-anime.gif"
    alt="Updating..." />
    </div>
    </div>
    </ProgressTemplate>
    </asp:UpdateProgress>


    Thanks,
    BJ
     
    BJ, Oct 8, 2008
    #1
    1. Advertisements

  2. BJ

    BJ Guest

    Oops. Before you ask:

    I am using Visual Studio 2008, .NET 3.5 with all patches applied
     
    BJ, Oct 8, 2008
    #2
    1. Advertisements

  3. BJ

    BJ Guest

    Good suggestion, but I tried setting DisplayAfter to "0" and "1." It did not
    fix the problem.

    --BJ

     
    BJ, Oct 9, 2008
    #3
  4. Hi,

    I cannot reproduce this problem on my side. My IE is 7.0.5730.11. Could
    you test following page? Do you get the same behavior?

    http://www.asp.net/AJAX/Documentation/Live/Samples/System.Web.UI.UpdateProgr
    ess1/cs/Default.aspx

    Do you have some IE add-ons enabled? If so try to disable all of them to
    see if there're any differences. If it's possible, could you test it on
    another machine? Will you see the same result?

    If it still doesn't work please send me a demo project that can reproduce
    this problem and the details about your environment, such as operating
    system and IE 7 version. My email is .

    Regards,
    Allen Chen
    Microsoft Online Support
    --------------------
    | Thread-Topic: UpdateProgress Control and Delays in IE
    | thread-index: AckqE0UV070w2yybSk+aCYLZWjvmLg==
    | X-WBNR-Posting-Host: 207.46.193.207
    | From: =?Utf-8?B?Qko=?= <>
    | References: <>
    <>
    <[email protected]>
    | Subject: Re: UpdateProgress Control and Delays in IE
    | Date: Thu, 9 Oct 2008 06:31:00 -0700
    | Lines: 85
    | Message-ID: <>
    | MIME-Version: 1.0
    | Content-Type: text/plain;
    | charset="Utf-8"
    | Content-Transfer-Encoding: 8bit
    | X-Newsreader: Microsoft CDO for Windows 2000
    | Content-Class: urn:content-classes:message
    | Importance: normal
    | Priority: normal
    | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
    | Newsgroups: microsoft.public.dotnet.framework.aspnet
    | Path: TK2MSFTNGHUB02.phx.gbl
    | Xref: TK2MSFTNGHUB02.phx.gbl
    microsoft.public.dotnet.framework.aspnet:77588
    | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
    | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    |
    | Good suggestion, but I tried setting DisplayAfter to "0" and "1." It did
    not
    | fix the problem.
    |
    | --BJ
    |
    | "Gustavo Cantero" wrote:
    |
    | > BJ:
    | > For the delay try using the parameters DisplayAfter="0" in the
    | > UpdateProgress control.
    | >
    | > Gustavo A. Cantero
    | > CEO - Scientia® Soluciones Informáticas
    | > MCP - MCSD - MCTS
    | > http://www.scientia.com.ar
    | > http://www.programandoamedianoche.com
    | > http://foro.scientia.com.ar
    | >
    | > -----Mensaje original-----
    | > De: BJ [mailto:]
    | > Expuesto a las: Miércoles, 08 de Octubre de 2008 06:14 p.m.
    | > Expuesto en: microsoft.public.dotnet.framework.aspnet
    | > Conversación: UpdateProgress Control and Delays in IE
    | > Asunto: RE: UpdateProgress Control and Delays in IE
    | >
    | > Oops. Before you ask:
    | >
    | > I am using Visual Studio 2008, .NET 3.5 with all patches applied
    | >
    | > "BJ" wrote:
    | >
    | > > I have three coordinated UpdatePanels on a page. I set up a single
    | > > UpdateProgress control on the page to cover all three update events
    and
    | > > show
    | > > a nice animated gif.
    | > >
    | > > In Firefox, this works with no problems -- the gif animation pops up,
    | > > the
    | > > update completes in less than two seconds, the gif disappears.
    | > >
    | > > In IE 7, when you click on an item that should trigger an update, it
    | > > take
    | > > about seven seconds for the UpdateProgress control to show the gif
    | > > animation
    | > > (which shows up frozen or jerky), and about another five seconds for
    the
    | > > update to complete.
    | > >
    | > > During this process in IE, CPU usage (on a dual core) pops to and
    stays
    | > > at
    | > > 50%. With Firefox CPU usage jumps to about 13%, drops to near zero,
    | > > then
    | > > pops back to 13% when the results come back.
    | > >
    | > > I tried getting rid of the gif animation and replaced it with a
    simple
    | > > text
    | > > message. No change in behavior.
    | > >
    | > > When I comment out the UpdateProgress control, IE 7 performs
    comparable
    | > > to
    | > > Firefox -- no perceptible delay, update completes in under two
    seconds,
    | > > and
    | > > CPU usage pattern is similar.
    | > >
    | > >
    | > > Below is the UpdateProgress control code. Can you please tell me why
    | > > this
    | > > was causing such delays in IE 7?
    | > >
    | > > <asp:UpdateProgress ID="ctlUpdateProgress"
    DynamicLayout="true"
    | > > runat="server">
    | > > <ProgressTemplate>
    | > > <div class="LoaderContainer">
    | > > <div class="Loader">
    | > > <img src ="/_images/Common/loader-anime.gif"
    | > > alt="Updating..." />
    | > > </div>
    | > > </div>
    | > > </ProgressTemplate>
    | > > </asp:UpdateProgress>
    | > >
    | > >
    | > > Thanks,
    | > > BJ
    | >
    | >
    |
     
    Allen Chen [MSFT], Oct 10, 2008
    #4
  5. Hi,

    Do you have any progress on this issue?

    Regards,
    Allen Chen
    Microsoft Online Support
    --------------------
    | Thread-Topic: UpdateProgress Control and Delays in IE
    | thread-index: AckqE0UV070w2yybSk+aCYLZWjvmLg==
    | X-WBNR-Posting-Host: 207.46.193.207
    | From: =?Utf-8?B?Qko=?= <>
    | References: <>
    <>
    <[email protected]>
    | Subject: Re: UpdateProgress Control and Delays in IE
    | Date: Thu, 9 Oct 2008 06:31:00 -0700
    | Lines: 85
    | Message-ID: <>
    | MIME-Version: 1.0
    | Content-Type: text/plain;
    | charset="Utf-8"
    | Content-Transfer-Encoding: 8bit
    | X-Newsreader: Microsoft CDO for Windows 2000
    | Content-Class: urn:content-classes:message
    | Importance: normal
    | Priority: normal
    | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
    | Newsgroups: microsoft.public.dotnet.framework.aspnet
    | Path: TK2MSFTNGHUB02.phx.gbl
    | Xref: TK2MSFTNGHUB02.phx.gbl
    microsoft.public.dotnet.framework.aspnet:77588
    | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
    | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    |
    | Good suggestion, but I tried setting DisplayAfter to "0" and "1." It did
    not
    | fix the problem.
    |
    | --BJ
    |
    | "Gustavo Cantero" wrote:
    |
    | > BJ:
    | > For the delay try using the parameters DisplayAfter="0" in the
    | > UpdateProgress control.
    | >
    | > Gustavo A. Cantero
    | > CEO - Scientia® Soluciones Informáticas
    | > MCP - MCSD - MCTS
    | > http://www.scientia.com.ar
    | > http://www.programandoamedianoche.com
    | > http://foro.scientia.com.ar
    | >
    | > -----Mensaje original-----
    | > De: BJ [mailto:]
    | > Expuesto a las: Miércoles, 08 de Octubre de 2008 06:14 p.m.
    | > Expuesto en: microsoft.public.dotnet.framework.aspnet
    | > Conversación: UpdateProgress Control and Delays in IE
    | > Asunto: RE: UpdateProgress Control and Delays in IE
    | >
    | > Oops. Before you ask:
    | >
    | > I am using Visual Studio 2008, .NET 3.5 with all patches applied
    | >
    | > "BJ" wrote:
    | >
    | > > I have three coordinated UpdatePanels on a page. I set up a single
    | > > UpdateProgress control on the page to cover all three update events
    and
    | > > show
    | > > a nice animated gif.
    | > >
    | > > In Firefox, this works with no problems -- the gif animation pops up,
    | > > the
    | > > update completes in less than two seconds, the gif disappears.
    | > >
    | > > In IE 7, when you click on an item that should trigger an update, it
    | > > take
    | > > about seven seconds for the UpdateProgress control to show the gif
    | > > animation
    | > > (which shows up frozen or jerky), and about another five seconds for
    the
    | > > update to complete.
    | > >
    | > > During this process in IE, CPU usage (on a dual core) pops to and
    stays
    | > > at
    | > > 50%. With Firefox CPU usage jumps to about 13%, drops to near zero,
    | > > then
    | > > pops back to 13% when the results come back.
    | > >
    | > > I tried getting rid of the gif animation and replaced it with a
    simple
    | > > text
    | > > message. No change in behavior.
    | > >
    | > > When I comment out the UpdateProgress control, IE 7 performs
    comparable
    | > > to
    | > > Firefox -- no perceptible delay, update completes in under two
    seconds,
    | > > and
    | > > CPU usage pattern is similar.
    | > >
    | > >
    | > > Below is the UpdateProgress control code. Can you please tell me why
    | > > this
    | > > was causing such delays in IE 7?
    | > >
    | > > <asp:UpdateProgress ID="ctlUpdateProgress"
    DynamicLayout="true"
    | > > runat="server">
    | > > <ProgressTemplate>
    | > > <div class="LoaderContainer">
    | > > <div class="Loader">
    | > > <img src ="/_images/Common/loader-anime.gif"
    | > > alt="Updating..." />
    | > > </div>
    | > > </div>
    | > > </ProgressTemplate>
    | > > </asp:UpdateProgress>
    | > >
    | > >
    | > > Thanks,
    | > > BJ
    | >
    | >
    |
     
    Allen Chen [MSFT], Oct 15, 2008
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.