Tab
A newer version of this page is available. Switch to the current version.

ASPxTimer Class

Represents a timer.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ASPxTimer :
    ASPxWebComponent,
    IRequiresLoadPostDataControl
Public Class ASPxTimer
    Inherits ASPxWebComponent
    Implements IRequiresLoadPostDataControl

Remarks

The ASPxTimer generates recurring events at specified time intervals. The ASPxTimer.Interval property allows the time before the ASPxTimer.Tick event is raised relative to the last occurrence of the ASPxTimer.Tick event.

NOTE

The ASPxTimer control provides you with a comprehensive client-side functionality implemented using JavaScript code (see DevExpress.Web.Scripts to learn more).

The client-side API is always available for this control.

The ASPxTimer's client-side API includes two methods: the ASPxClientTimer.SetInterval and ASPxClientTimer.SetEnabled.

For an example on how to manipulate the ASPxTimer component on the client side, see Timer - Client-Side Functionality demo.

See Also