remove first level checkbox in Radtreeview

2 posts, 0 answers
  1. jiang
    jiang avatar
    2 posts
    Member since:
    Oct 2008

    Posted 04 Nov 2008 Link to this post

    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

  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 04 Nov 2008 Link to this post

    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.
Back to Top