Im using an UpdatePanel with a timer and when the timer fires I get a animated .gif from webresource.axd that never goes away so I end up with multiplyin开发者_JAVA百科g .gif's. How do I disable this animation?
You can add a custom message you your UpdatePanel like that:
<asp:UpdateProgress ID="updProcess"
runat="server" AssociatedUpdatePanelID="YourProblematicPanelD">
<ProgressTemplate>
Left it emtpy, or type something here
</ProgressTemplate>
</asp:UpdateProgress>
This UpdateProgress can be outside the Panel.
Anyway as I say there is no default wait icon for the update panel, search to find how they add it in your page
精彩评论