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
Use ExpandSingleBranch boolean property to specify whether to collapse all other branches when expanding a node. Setting this property ensures that only one branch at any level is expanded.
This demo also demonstrates how to override a TreeNodeLook:

<ec:TreeNodeLook Id="ParentAnimated" Base="Parent" 
      BindStrategy="OverrideBaseBind">
  <Expand Effect="GlideTopToBottom" Duration="200" />
  <Collapse Effect="GlideTopToBottom" Duration="200" />
</ec:TreeNodeLook>

	
The Parent look is defined in the built-in skin. Here ParentAnimated look extends Parent with defining Expand and Collapse effects. BindStrategy="OverrideBaseBind" means that it replaces Parent in the process of binding a node with TreeNodeLook.
aspx
Copyright © 2003-2017 ASP.NET Expert Group. All rights reserved.