Solved

Indeterminate CheckState for a TreeView node

Posted on 2004-10-07
3
694 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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