This documentation is archived and is not being maintained.
Timer::OnTick Method
Visual Studio 2008
Namespace:
System.Web.UI
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
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.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: