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" 
  <Expand Effect="GlideTopToBottom" Duration="200" />
  <Collapse Effect="GlideTopToBottom" Duration="200" />

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.
Copyright © 2003-2021 ASP.NET Expert Group. All rights reserved.