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

Client-Side Events

  • Collapse
    Arrays
    • Associative array
    • Multimap
    • Set
    • Multiset
    • Hash table
  • Collapse
    Lists
    • Double-ended queue
    • Linked list
    • Queue
    • Stack
    • Circular queue/buffer

Clear
Trace Events:







This demo traces all client-side events available in the DevExpress MVC TreeView.

Client-side events are triggered in response to specific user actions performed on the client side (in particular, when clicking nodes or changing their expanded state). Client-side event handlers represent code written in JavaScript. In order to handle a client-side event, a property is provided via ClientSideEvents, accepting either code handling directly or the name of a handling function.

In this demo, the following client events are traced by default:

  • Init. Occurs after the TreeView has been initialized, but prior to it being displayed within the browser.
  • ExpandedChanging and ExpandedChanged. Fires before and after a node's expansion state has been changed.
  • CheckedChanged. Fires after a node's checked state has been changed.
  • NodeClick. Fires after a node has been clicked.

You can toggle options to specify whether corresponding client-side events are traced.

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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos