<fieldset>
<legend>In UpdatePanel</legend>UpdatePanel content refreshed at
<%=DateTime.Now.ToString() %>
<asp:Button ID="Button1" Text="RefreshUpdatePanel" runat="server" />
</fieldset>
<legend>In UpdatePanel</legend>UpdatePanel content refreshed at
<%=DateTime.Now.ToString() %>
<asp:Button ID="Button1" Text="RefreshUpdatePanel" runat="server" />
</fieldset>
效果如下: