2011-01-27 78 views
1

我处于.NET环境中,当用户执行保存或更新操作时,Foundation会弹出状态消息'正在处理...'或'正在保存...'或'清爽...',然后'保存'。经过一段时间后,消息将消失,有时在给定动作完成之前消失。如何访问此功能并延长这些状态消息在屏幕上显示的时间?与保存/更新操作相关的状态消息

回答

0

我想你需要实现ajax更新面板,并添加UpdateProgress控件并将AssociatedUpdatePanelID与更新面板ID相关联。例如:

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

希望得到这个帮助。