October 2010
Intermediate to advanced
1920 pages
73h 55m
English
TreeView ControlYou can display check boxes next to each node in a TreeView control by assigning a value to the ShowCheckBoxes property. This property accepts the following values:
• All
• Leaf
• None
• Parent
• Root
You can use a bitwise combination of these values when specifying the nodes to display with check boxes.
The page in Listing 22.20 illustrates the ShowCheckBoxes property (see Figure 22.17).
Figure 22.17. Displaying TreeView check boxes.

Listing 22.20. TreeViewCheckBoxes.aspx

The page in Listing ...
Read now
Unlock full access