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
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