This question is locked. New answers and comments are not allowed.
Hi,
I have a RadTreeView of checkboxes. I have defined HierarchicalDataTemplate and have ContainerBinding of the IsSelected property.
On initialization, when I add countries to the treeview by doing
Country country = new Country() { Name = countryName, IsExpanded = true, IsSelected = true};
Though if we directly check the country on UI, the parent node gets ToggleState.Indeterminate state.
This behavior is inconsistent. Please let me know how we can maintain a consistent behavior.
Thanks.
I have a RadTreeView of checkboxes. I have defined HierarchicalDataTemplate and have ContainerBinding of the IsSelected property.
On initialization, when I add countries to the treeview by doing
Country country = new Country() { Name = countryName, IsExpanded = true, IsSelected = true};
The country gets checked but the parent node "Region" doesn't get ToggleState.Indeterminate. See attached image. Even when i programmtically set "IsSelected = true" , the country gets checked but it's parent is not.
Though if we directly check the country on UI, the parent node gets ToggleState.Indeterminate state.
This behavior is inconsistent. Please let me know how we can maintain a consistent behavior.
Thanks.