【问题标题】:Status messages related to save/update actions与保存/更新操作相关的状态消息
【发布时间】:2011-01-27 17:01:51
【问题描述】:

我在 .NET 环境中,当用户执行保存或更新操作时,Foundation 会弹出状态消息“正在处理...”或“保存...”或“正在刷新...”,然后“得救了。”在给定的时间后,消息会消失,有时在给定的操作真正完成之前。如何访问此功能并延长这些状态消息在屏幕上显示的时间?

【问题讨论】:

    标签: asp.net .net workflow-foundation status


    【解决方案1】:

    我认为您需要实现 ajax 更新面板,并添加 UpdateProgress 控件并将 AssociatedUpdatePanelID 与更新面板 id 关联。例如:

    <asp:UpdateProgress AssociatedUpdatePanelID="UpdatePanelId">
                    <ProgressTemplate>
                        <asp:Label Text="Refreshing"></asp:Label>
                    </ProgressTemplate>
                   </asp:UpdateProgress>
    

    希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 2022-07-08
      • 1970-01-01
      • 2020-03-19
      • 2011-01-09
      • 2011-04-08
      • 1970-01-01
      • 1970-01-01
      • 2013-04-04
      • 2020-06-12
      相关资源
      最近更新 更多