Using the TreeView
Control
The TreeView
control is similar to the Menu
control. Like the Menu
control, you can use the TreeView
control to display hierarchical data. The TreeView
control binds to any data source that implements the IHierarchicalDataSource
or IHiearchicalEnumerable
interface.
In this section, you learn how to add items declaratively to the TreeView
control. You also learn how to bind a TreeView
control to hierarchical data sources such as the SiteMapDataSource
and XmlDataSource
controls.
You also see how you can use the TreeView
control with database data. A TreeView
is built programmatically from database data.
Finally, you learn how you can use AJAX with the TreeView
control to display large sets of data efficiently. By taking ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.