0

我使用带有计时器的 UpdatePanel,当计时器触发时,我从 webresource.axd 获得了一个永远不会消失的动画 .gif,所以我最终将 .gif 相乘。如何禁用此动画?

4

1 回答 1

1

您可以像这样在 UpdatePanel 中添加自定义消息:

<asp:UpdateProgress ID="updProcess" 
       runat="server" AssociatedUpdatePanelID="YourProblematicPanelD">
    <ProgressTemplate>
            Left it emtpy, or type something here
    </ProgressTemplate>
</asp:UpdateProgress>

此 UpdateProgress 可以在面板之外。

无论如何,正如我所说,更新面板没有默认等待图标,请搜索以查找他们如何将其添加到您的页面中

于 2011-06-30T17:00:29.180 回答