The ASP.NET MVC TreeView control allows you to represent hierarchical data in a tree structure. It has great performance combined with advanced features like load on demand, checkbox support, multiple selection, tree navigation, drag and drop, tree node editing, and template support.
Features and Benefits
You can bind data to the TreeView control from any valid data source, such as XML, JSON, and JSONP. The tree data can be local or in any remote service and fetched using different kinds of adaptors like OData, OData V4, URL, JSON, and Web API.
Load on demand
The ASP.NET MVC TreeView control has a load-on-demand option that allows you to load huge amounts of data by dynamically loading the data on demand, which improves the control’s performance. Also, child nodes in the control can be loaded from any web services or inserted dynamically.
Tree node with icons
Display nodes with labels and icons to present content in a more readable format. This is helpful in making a typical directory tree and file system.
The ASP.NET MVC TreeView control provides built-in support for checkboxes, allowing users to select more than one item. The tree view checkbox has a tri-state mode also, which is applicable only for parent nodes. In this mode, the parent node will go into the indeterminate state when the child nodes are partially checked.
Drag and drop
Multiple node selection
The ASP.NET MVC TreeView control allows users to select multiple nodes. When the drag-and-drop feature is enabled, all the selected nodes can be dragged at the same time.
Edit the tree nodes’ label text on the client side by double-clicking it. While editing tree view nodes, the tree view data source will also be updated by the modified data.
Sorting tree nodes
Render the tree view nodes in ascending or descending order based on the label text to provide users improved readability.
The TreeView control can be customized through its node template support, which allows defining a custom structure for tree nodes. You can use node templates specifically for parent nodes, child nodes, or both, and can include images and any custom element structure.
Expand collapse icons
Easily customize the expand and collapse icons based on your application requirements.
Right to left (RTL)
Supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.
Web framework integration
The TreeView control integrates easily with any web framework:
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 23,000+ companies and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
email@example.com | Toll Free: 1-888-9 DOTNET