ASP.NET Tree. ExpertTree - XML and CSS based DHTML Server-Side Tree Control for ASP.NET

Examples Quick Start ExpertTree Designer Contact Us
 
 
About the demo
You can process a number of client-side events with writing custom handlers. A hadler can be defined to process an event Before it is processed by the tree control itself, or After it is processed by the tree code. If your custom Before handler returns false, it cancels event and it is not processed by the tree code.
A custom event handler can be defined at the tree level or at a node level. A handler at the tree level is the name of a function that receives a node as its single argument. A handler at a node level is a code that is directly executed in the scope of the node.
The definition

<OnClientBefore 
  NodeCheckedChangedHandler="BeforeCheckedChangedHandler"/>
<OnClientAfter 
  NodeCheckedChangedHandler="AfterCheckedChangedHandler" />

	
means that BeforeCheckedChangedHandler is the name of handler function that processes NodeCheckedChanged event before it was processed by the tree. And AfterCheckedChangedHandler is the name of handler function that processes NodeCheckedChanged event after it was processed by the tree.
Note, that return value of Before handler defines whether those event will be processed or cancelled.
aspx
Copyright © 2003-2017 ASP.NET Expert Group. All rights reserved.