At the moment when disabling a RadTreeNode on server/client side the complete node gets disabled with the CheckBox. We had a use case where we would like the node to stay functional (collapsable/expandable/clickable/hover-effect) but only the checkbox to become disabled. As this can't be achieved with the RadTreeView we had to build a work-around for that. Most likely people in need of this feature make a new HTML-variable to store/transmit/apply the state of the checkbox since the manipulation of the Checkboxes gets lost in a postback. This would have to be implemented as a server/client-feature as it is with the enabled/disabled-state of the RadTreeNode. Kind regards
Hello Ernst,
The TreeNodes have the Checkable property which will hide the checkbox if set to false which will allow the Node to be selected, expanded/collapsed but not checked.
<telerik:RadTreeView runat="server" RenderMode="Lightweight" CheckBoxes="true" ID="RadTreeView1">
<Nodes>
<telerik:RadTreeNode Text="Root 1" Expanded="true" Checkable="false">
<Nodes>
<telerik:RadTreeNode Text="Child 1.1" Checkable="false"></telerik:RadTreeNode>
<telerik:RadTreeNode Text="Child 1.2"></telerik:RadTreeNode>
<telerik:RadTreeNode Text="Child 1.3"></telerik:RadTreeNode>
<telerik:RadTreeNode Text="Child 1.4"></telerik:RadTreeNode>
</Nodes>
</telerik:RadTreeNode>
</Nodes>
</telerik:RadTreeView>
The checkable property can be get/set on the client-side also via the node.get_checkable() and node.set_checkable(bool) methods.
Regards,
Peter Milchev
Progress Telerik