CheckBoxes="true" is set by default in a Telerik RadTreeView. But based on certain condition like if the resource id is 0 then the visibility of the check box must be set to false and the expand icon of the node must be hidden.
Asked
Active
Viewed 1,257 times
1
-
Which platform are you using? WPF? ASP.NET? – Magnus Lindhe Apr 14 '16 at 08:42
2 Answers
0
you can use the Following:
public void DisabledCheckBox()
{
foreach (RadTreeNode n in RadTreeView.GetAllNode())
{
if( condition)
{
n.Checkable=false;
}
}
}
regards

Adam
- 3,815
- 29
- 24
0
This can probably be done by:
- iterating through the treeview nodes (when build), for example inside the NodeCreated event handler
- locating the checkbox inside when node via the Controls collection
- setting its visible property accordingly

Dick Lampard
- 2,256
- 1
- 12
- 7