TreeView PopulateNodesFromClient On Demand Example
In this demo I subscribe the TreeNodeCheckChanged event to check all child nodes of a
selected parent node. This treeview also loads the nodes on demand by subscribing to the
TreeNodePopulate event and by setting the PopulateNodesFromClient to true, yet maintaining the
event processing of the checkboxes.
Notice that I collapse each node that got unchecked and expand it if it were checked again. To
best this demo, start by collapsing the Categories nodes (the second level) then check/uncheck
each category at a time then press the Select/Deselect button to see a list of the selected items
displayed on the right hand side.
MSDN documentation on PopulateOnDemand