nodes in treeviewadv not getting checked properly
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
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
SIGN IN To post a reply.
7 Replies
AD
Administrator
Syncfusion Team
August 7, 2008 08:57 AM UTC
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
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
AD
Administrator
Syncfusion Team
August 12, 2008 04:26 AM UTC
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
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
AD
Administrator
Syncfusion Team
August 12, 2008 04:47 AM UTC
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
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
AD
Administrator
Syncfusion Team
August 13, 2008 11:41 AM UTC
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
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
FS
Fathima Shalini P
Syncfusion Team
September 24, 2008 01:26 PM UTC
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
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
FS
Fathima Shalini P
Syncfusion Team
September 25, 2008 09:04 AM UTC
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:
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
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
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.
SIGN IN To post a reply.
- 7 Replies
- 3 Participants
-
AD Administrator
- Aug 4, 2008 10:49 AM UTC
- Mar 23, 2018 09:12 AM UTC