We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdv indeterminate state

Thread ID:

Created:

Updated:

Platform:

Replies:

31097 Jun 30,2005 01:02 AM UTC Jun 30,2005 06:52 PM UTC Windows Forms 1
loading
Tags: Tools
Sue Harris
Asked On June 30, 2005 01:02 AM UTC

I''d like to change the state that a TreeNode goes to when clicked when in an indeterminate state. (ie if InteractiveCheckBox is set and the children check states are mixed). By default it goes to checked, I''d like to change that to unchecked. I can change it by changing the check state in the BeforeCheck event and cancelling, but by doing that I lose the AfterCheck event (and it thinks the change was cancelled). Any suggestions? Thanks, Sue

Administrator [Syncfusion]
Replied On June 30, 2005 06:52 PM UTC

Hi Sue, I think it would be easier to disable InteractiveCheckBox and implement something yourself. The algorithm I would use is as follows: AfterCheck event -If the node was unchecked, uncheck its parent -If the node was checked, check all of its children Does that accurately represent your requirements? Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;