ASP.NET AJAX: Difference between revisions

Content deleted Content added
m The UpdatePanel Control: <source lang="xml">
Line 45:
In the following code, only the content of the Update control (the span element that displays the current date and time) is re-rendered every time the button is clicked.
 
<source lang="javascriptxml">
<asp:Button ID="Button1" runat="server" Text="Refresh" />
 
Line 52:
</Triggers>
<ContentTemplate>
<span><%= DateTime{{Not a typo|.}}Now %></span>
</ContentTemplate>
</asp:UpdatePanel>