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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Collapsing a TreeNodeAdv with selected child nodes de-selects them?

Thread ID:





28476 May 3,2005 04:11 AM UTC May 4,2005 07:18 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On May 3, 2005 04:11 AM UTC

Hello, Like the subject says, collapsing an unselected parent node de-selectes any selected child nodes AND selects the parent. Is this the intended behavior? Is so, how might one preempt this? I''d rather modify the appearance of the parent node to indicate a hidden selection instead of losing a user''s choices. Thanks! Keith

Administrator [Syncfusion]
Replied On May 4, 2005 07:18 PM UTC

Hi Keith, While this behavior seems incorrect to me, I can see valid reasons for it being the intended behavior. Because of this I have included it in Defect #291, but I can''t guarantee a fix, since it might be correct behavior. What I can do is suggest you look into using the CheckBoxes (ShowCheckBoxes = true). The CheckBoxes will retain their settings even while the nodes are hidden. Additionally, setting InteractiveCheckBoxes = true will cause parent nodes to update their CheckState based on the CheckState of their children. Please let me know if you have any questions regarding the CheckBoxes or the Defect. Regards, Gregory Austin Syncfusion Inc.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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