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.

nodes in treeviewadv not getting checked properly

Thread ID:

Created:

Updated:

Platform:

Replies:

75635 Aug 4,2008 06:49 AM Mar 23,2018 05:12 AM Windows Forms 7
loading
Tags: Tools
Administrator [Syncfusion]
Asked On August 4, 2008 06:49 AM

Hello

I am using a treeview adv in which I am trying to follow following steps:

1)check the parent node.
2) uncheck some of child nodes
3) check parent node
this checks all the subnodes
4) uncheck parent node
5)check parent node (Problem exists here)

in the fifth step it should check all the child nodes but instead it remembers the list of last checked nodes and rechecks then only.

Please let me know how can i make sure that all the child nodes are checked in all the cases when a parent node is checked.

This problem also exist in the treeviewadv demo provided in dashboard samples(with checkboxes)

Thanks and Regards
Ranju Malhotra


Administrator [Syncfusion]
Replied On August 7, 2008 04:57 AM

Hi Ranju,

We suspect this issue to be a defect and we have forwarded this to our development team for more analysis. We will update you in two business days with more details.

Thank you for your interest in Syncfusion Products.

Regards,
Hema


Administrator [Syncfusion]
Replied On August 12, 2008 12:26 AM

Are there any updates on this yet.It is really urgent.

Thanks and Regards
Ranju Malhotra

>Hello

I am using a treeview adv in which I am trying to follow following steps:

1)check the parent node.
2) uncheck some of child nodes
3) check parent node
this checks all the subnodes
4) uncheck parent node
5)check parent node (Problem exists here)

in the fifth step it should check all the child nodes but instead it remembers the list of last checked nodes and rechecks then only.

Please let me know how can i make sure that all the child nodes are checked in all the cases when a parent node is checked.

This problem also exist in the treeviewadv demo provided in dashboard samples(with checkboxes)

Thanks and Regards
Ranju Malhotra




Administrator [Syncfusion]
Replied On August 12, 2008 12:47 AM

Hi Ranju,

Sorry for the delay. The issue with "Persist the checked state of Child nodes in treeviewadv" has been confirmed as a defect and our developers are working on fixing this issue with high priority. We will update to you once we hear back from them.

Please let me know if any concerns.

Regards,
Hema


Administrator [Syncfusion]
Replied On August 13, 2008 07:41 AM

Hi Ranju,

Thank you for your patience.

The fix for this issue is expected to be available on Sep12,2008 and we will get back to you on the same date with more details.

Please let me know if any concerns.

Regards,
Hema


Fathima Shalini P [Syncfusion]
Replied On September 24, 2008 09:26 AM

Hi Ranju,

Thank you for your patience.

Currently we don’t have any immediate plan for implement this feature. This feature is expected to be implemented after six months only.

Please let me know if any concerns.

Regards,
Fathima


Fathima Shalini P [Syncfusion]
Replied On September 25, 2008 05:04 AM

Hi Ranju,

We regret for the inconvenience caused.

On further analysis, we have found that the issue is not a defect. This is the default behaviour of TreeViewAdv only. The following steps illustrates how it is bahaving:

Actually the check box of the TreeNodeAdv has three check states they are:

i) Checked state
ii) Unchecked state
iii) Indeterminate state

1) Check the parent node -> Parent Node will be in Checked State.
2) Uncheck some of child nodes -> Parent Node will be in Indeterminate state.
3) Check the parent node -> Parent Node will be in Checked State.
4) Uncheck the parent node -> Parent Node will be in Unchecked State.
5) Check the parent node -> Parent Node will be in Indeterminate state. When parent is in Indeterminate state, it by default checks only the nodes that are previously selected.

This can be avoided by setting the InteractiveCheckBoxes property to false and in BeforeCheck event assign the Parennode's Check state to child nodes check state. Please refer to the following code snippets:


private void treeViewAdv1_BeforeCheck(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvBeforeCheckEventArgs e)
{
if (e.Node.HasChildren)
{
foreach (TreeNodeAdv node in e.Node.Nodes)
{
node.CheckState = e.NewCheckState;
}
}
}


Please refer to the following sample:

http://websamples.syncfusion.com/samples/Tools.Windows/F75635/main.htm

Please try this and let me know if this helps.

Regards,
Fathima


Ryan Jayme
Replied On March 23, 2018 05:12 AM

Hi Ranju,

We suspect this issue to be a defect and we have forwarded this to our development team for more analysis. We will update you in two business days with more details.

Thank you for your interest in Syncfusion Products.

Regards,
Hema


Syncfusion is a one good thing to make fast software solutions to your company.

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.

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.

;