Timer::OnTick Method (EventArgs^)
.NET Framework (current version)
Namespace:
System.Web.UI
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Return to top
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The following example shows an UpdatePanel control that displays a randomly generated stock price and the time that the stock price was generated. The Timer control updates the content in the UpdatePanel control every 10 seconds. The stock price and the time are set in a handler for the Tick event.
.NET Framework
Available since 3.5
Available since 3.5
Show: