Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Client-Side Events

Clear
Trace Events:


This example demonstrates the capabilities of our client-side event management technology. The DevExpress ASP.NET Timer (ASPxTimer) component has two client-side events - Init and Tick - which are traced and displayed in the Event monitor below the Download button.

In this demo, ASPxTimer is used to implement a countdown timer, and to temporarily disable the download button during the countdown. In the Init event's handler, the button is disabled, the value of the seconds counter is set, and specific descriptive text with a countdown is displayed. The Tick event is handled to decrease the seconds counter and to refresh the page's information when the specified time runs out.

To learn more about client-side events, refer to the Client-Side Events help topic.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxMultiUseControlsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxMultiUseControlsDemos