Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
     Drag and Drop
    [Collapse]Focus and Navigation
      Focused Node
      Selection
      Data Paging
      Keyboard Navigation
     Appearance Customization
     Save and Restore Layout
    [Expand]Templates
     Toolbars
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Member Tables
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Selection

Expanded Simple Selection

The ASPxTreeList supports both single and multiple node selection modes. To allow end-users to select nodes, enable the TreeListSettingsSelection.Enabled option. Nodes will display selection cells that contain check boxes. End-users can check or uncheck these check boxes to select or unselect the corresponding nodes.

To enable end-users to select all nodes displayed within the ASPxTreeList, set the ASPxTreeList.SelectAll property to true. This displays a check box within the column header panel used to select/de-select all nodes.

To prevent end-users from selecting individual nodes, set the node's TreeListNode.AllowSelect property to false. In this instance, the Selection Cell isn't displayed within the node.

The ASPxTreeList provides multiple methods that allow you to select and unselect required nodes on the server and client sides. These methods are listed in Member Table: Selection.

Expanded Recursive Selection

The ASPxTreeList supports recursive node selection, which is enabled by the TreeListSettingsSelection.Recursive option. When recursive selection is enabled:

  • a parent node is automatically selected if all its child nodes are selected. Deselecting a child node automatically unselects its parent node(s);
  • selecting a parent node automatically selects all its children.

Note

To see the animation, enable the IE's 'Play animations in webpages' option (Internet Options | Advanced).

Expanded Concepts

Expanded Member Table

Expanded Task-Based Help

Is this topic helpful?​​​​​​​