r.a.d.treeview fully supports checkboxes, which are displayed next to
the tree-nodes. You can enable the checkboxes mode by setting the CheckBoxes
attribute to "True".
By default, all nodes will display checkboxes if the CheckBoxes attribute
is set to "True". However you can disable a checkbox for a particular tree-node
by settings its Checkable attribute to "False" (in the XML ContentFile).
You can retrieve all checked nodes upon postback at the server-side by using the
GetCheckedNodes method, which returns an ArrayList collection of the
nodes that have been checked in the browser.
This example demonstrates also the use of the BeforeClient{EventName} and
AfterClient{EventName} JavaScript event handlers, which allow fine-tuning of the
treeview behavior.
Here we use the AfterClientCheck event handler to check/uncheck all
children nodes in case the parent node is checked/unchecked respectively.
We have also used the BeforeClientCheck event handler to forbid the
checking of a node, according to some criteria.