UpdateProgress使用 .<%@ Register
UpdateProgress使用 .    Assembly
="AjaxControlToolkit"
UpdateProgress使用 .    Namespace
="AjaxControlToolkit"
UpdateProgress使用 .    TagPrefix
="ajaxToolkit" %>
UpdateProgress使用 .
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
UpdateProgress使用 .
UpdateProgress使用 .
<html xmlns="http://www.w3.org/1999/xhtml" >
UpdateProgress使用 .
<head runat="server">
UpdateProgress使用 .    
<title>无标题页</title>
UpdateProgress使用 .
</head>
UpdateProgress使用 .
<body>
UpdateProgress使用 .    
<form id="form1" runat="server">
UpdateProgress使用 .    
<div>
UpdateProgress使用 .        
<asp:ScriptManager ID="ScriptManager1" runat="server">
UpdateProgress使用 .        
</asp:ScriptManager>
UpdateProgress使用 .    
UpdateProgress使用 .    
</div>
UpdateProgress使用 .        
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
UpdateProgress使用 .            
<ContentTemplate>
UpdateProgress使用 .                
&nbsp;<asp:Label ID="Label1" runat="server" Text="Label" Width="166px"></asp:Label>&nbsp;
UpdateProgress使用 .                
<br />
UpdateProgress使用 .                
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
UpdateProgress使用 .                
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
UpdateProgress使用 .            
</ContentTemplate>
UpdateProgress使用 .        
</asp:UpdatePanel>
UpdateProgress使用 .        
<asp:UpdateProgress ID="testUp" runat=server AssociatedUpdatePanelID="UpdatePanel1">
UpdateProgress使用 .            
<ProgressTemplate>
UpdateProgress使用 .                progressingUpdateProgress使用 .UpdateProgress使用 .UpdateProgress使用 ...
UpdateProgress使用 .            
</ProgressTemplate>
UpdateProgress使用 .           
UpdateProgress使用 .        
</asp:UpdateProgress>
UpdateProgress使用 .    
</form>
UpdateProgress使用 .
</body>
UpdateProgress使用 .
</html>
第三,在BUTTON中加入点击事件,代码如下:
UpdateProgress使用 . System.Threading.Thread.Sleep(5000);
UpdateProgress使用 .
UpdateProgress使用 .        Label1.Text 
=  DateTime.Now.ToString();

主要是故意创建一个延迟,显示效果。
最后,运行就ok了 

相关文章:

  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2022-12-23
  • 2021-10-25
  • 2021-10-10
  • 2022-02-17
  • 2021-06-19
  • 2022-12-23
相关资源
相似解决方案