This is a migrated thread and some comments may be shown as answers.

Prevent Tristate from propagating from Node

1 Answer 41 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Aayam
Top achievements
Rank 1
Aayam asked on 09 Jun 2009, 04:22 PM
Hi Experts,

I have a Treeview with tristate property enabled.
The treeview has a node at third level which in only enabled and checked currently.This node also has child with expand mode as server side callback.
When i expand the node all the sub nodes are also checked using my custom javacsript.I could have used CheckChildNodes property of treeview but there are some cases which cannot be handled using it.
Now when i uncheck any of the sub node of it the Tristate goes on all the parents of that nodes which are disabled.
I want to prevent this behavior and what the tristate should propagate to only parent nodes that are currently enables.

Thanks for you help in advance.

Regards,
Aayam

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 12 Jun 2009, 08:03 AM
Hi Aayam,

This behavior is by design - the tristate checkboxes work with enabled and disabled nodes.

Kind regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Aayam
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or