Solved

Indeterminate CheckState for a TreeView node

Posted on 2004-10-07
3
700 Views
Last Modified: 2012-08-13
Hi Experts,

I have a TreeView with check boxes enabled. I am showing in it a hierarchy of objects, so I have objects and then subobjects for them (shown as child nodes in the TreeView). I would like to make it so, that when I select some of the children (but not all), the check box for the parent node is in the Indeterminate state (as known from the CheckBox control). Is this possible?

An alternative/customized TreeView control would also work if it is easy to handle.

Thanks
TheAvenger
0
Comment
Question by:TheAvenger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 250 total points
ID: 12256347
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12256498
It would be even better if it could handle both images and tri state, but still this is a step forward
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12256590
Glad to help :)
You may need to see the codes of both of them a little bit and make your own powerful :) custom component
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question