UpdateProgress Control and Delays in IE

  • Thread starter Thread starter BJ
  • Start date Start date
B

BJ

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
 
Good suggestion, but I tried setting DisplayAfter to "0" and "1." It did not
fix the problem.

--BJ

Gustavo Cantero said:
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:[email protected]]
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 said:
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
 
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 (e-mail address removed).

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=?= <[email protected]>
| References: <[email protected]>
<[email protected]>
<C6E9BE1EAD9748899C52F2B4D0E6FA58@CATALINA>
| Subject: Re: UpdateProgress Control and Delays in IE
| Date: Thu, 9 Oct 2008 06:31:00 -0700
| Lines: 85
| Message-ID: <[email protected]>
| 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:[email protected]]
| > 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
| >
| >
|
 
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=?= <[email protected]>
| References: <[email protected]>
<[email protected]>
<C6E9BE1EAD9748899C52F2B4D0E6FA58@CATALINA>
| Subject: Re: UpdateProgress Control and Delays in IE
| Date: Thu, 9 Oct 2008 06:31:00 -0700
| Lines: 85
| Message-ID: <[email protected]>
| 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:[email protected]]
| > 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
| >
| >
|
 
Back
Top