• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

How do I remove check boxes from the parent node of a Treeview control in C# if it has sub nodes?

I would like to remove check boxes from the parent node of a tree view control if the parent node has sub nodes, if there are no sub nodes then the parent control should have a check box.  Is this possible with a tree view control in C#?

Thanks
0
obb-taurus
Asked:
obb-taurus
1 Solution
 
Wayne Taylor (webtubbs)Commented:
Sorry, it's either all or nothing when using CheckBoxes in a TreeView control.

Wayne
0
 
Anurag ThakurTechnical ManagerCommented:
i think you are looking at something like this
http://www.codeproject.com/KB/tree/TreeViewRadioBox.aspx
0
 
obb-taurusAuthor Commented:
Thanks for your assistance.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now