This is a migrated thread and some comments may be shown as answers.

remove first level checkbox in Radtreeview

1 Answer 221 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
jiang
Top achievements
Rank 1
jiang asked on 04 Nov 2008, 09:49 AM
Hi

   I use a Radtreeview control and set the CheckBoxes="True",
but I don't want to disply the Checkbox in first level node inside the treeview.
How can I remove that checkbox?

other question is :
  I want to implement that:   user only can click the Checkbox , but can't click the node.
  How should I do?



Thanks
Eagle Jiang

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 04 Nov 2008, 05:16 PM
Hello jiang,

You can set the Checkable property of the root nodes to False and their checkboxes will not be visible.

If you do not want the nodes to be clickable - just cancel the OnClientNodeClicking event.

I hope this will get you started.

Kind regards,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
jiang
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or