The ASP.NET MVC TreeView control allows you to represent hierarchical data in a tree structure. It provides great performance with its 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 ASP.NET MVC TreeView control from any valid data source, such as XML, JSON, and JSONP. The treeview data can be local or remote data 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 dynamically, 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 the 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 ASP.NET MVC treeview 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. When editing tree view nodes, the tree view data source will also be updated with the modified data.
Sorting tree nodes
Render the tree view nodes in the ascending or descending order based on the label text for improved readability.
The ASP.NET MVC 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 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 with right-to-left languages like Hebrew, Arabic, or Persian.
Web framework integration
The TreeView control integrates easily with any web framework:
About Syncfusion ASP.NET MVC UI Controls
Syncfusion's ASP.NET MVC UI controls library is the only suite that you will ever need to build an application since it contains over 70 high-performance, lightweight, modular, and responsive UI controls in a single package. In addition to Stock Chart, we provide popular ASP.NET MVC Controls such as ASP.NET MVC DataGrid, ASP.NET MVC Charts, ASP.NET MVC Diagram, and ASP.NET MVC Word Processor.
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.