<%@ Page Language="C#" %> UpdatePanelUpdateMode Example

The content in this UpdatePanel only refreshes if five or more seconds have passed since the last refresh and the button in UpdatePanel2 was clicked. The time is checked server-side and the UpdatePanel.Update() method is called. Last updated: <%= LastUpdate.ToString() %>

This UpdatePanel always refreshes if the button is clicked. Last updated: <%= DateTime.Now.ToString() %>