Hierarchical Data Controls

Controls derived from the HierarchicalDataBoundControl, as listed in Table 8-1, display their data in hierarchical form, such as in a menu or a tree view. They might typically be bound to a SiteMapDataSource, XmlDataSource, or LinqDataSource control presenting data from a hierarchical source (such as an XML document) but they could equally use data from a database or business object to present a flat list of items as desired.

Table 8-1. Hierarchical data controls

Control name

Read/write?

Notes

Menu, TreeView

Read-only

Both the Menu and TreeView controls are used for website navigation. See Chapter 13 for more information.

Get Programming ASP.NET 3.5, 4th Edition 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.