October 2010
Intermediate to advanced
1920 pages
73h 55m
English
A TreeView control is made up of TreeNode objects. You can build a TreeView control by declaring TreeNode objects in the TreeView control’s Items collection.
For example, Listing 22.18 contains a TreeView which renders a nested set of links to pages (see Figure 22.15).
Figure 22.15. Displaying a TreeView control.

Listing 22.18. TreeViewDeclare.aspx


Some of the TreeNodes in Listing 22.18 include a Text property, ...
Read now
Unlock full access