2011-01-27 76 views
1

我處於.NET環境中,當用戶執行保存或更新操作時,Foundation會彈出狀態消息'正在處理...'或'正在保存...'或'清爽...',然後'保存'。經過一段時間後,消息將消失,有時在給定動作完成之前消失。如何訪問此功能並延長這些狀態消息在屏幕上顯示的時間?與保存/更新操作相關的狀態消息

回答

0

我想你需要實現ajax更新面板,並添加UpdateProgress控件並將AssociatedUpdatePanelID與更新面板ID相關聯。例如:

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

希望得到這個幫助。