Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Indeterminate CheckState for a TreeView node

Posted on 2004-10-07
3
Medium Priority
?
706 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 1000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

670 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