Completed
Last Updated: 29 Oct 2015 07:31 by ADMIN
ADMIN
Stefan
Created on: 28 Aug 2015 06:06
Category: TreeView
Type: Bug Report
0
FIX. RadTreeView - the parent node check state is not updated if the child node CheckState is set prior the node is added to the parent's Nodes collection
To reproduce: 
           radTreeView1.CheckBoxes = true;
            radTreeView1.TriStateMode = true;
            radTreeView1.AutoCheckChildNodes = true;

            RadTreeNode root = radTreeView1.Nodes.Add("Home");
            root.Expanded = true;

            RadTreeNode node1 = new RadTreeNode("Minimal");
            node1.CheckState = Telerik.WinControls.Enumerations.ToggleState.On;

            root.Nodes.Add(node1);

Workaround: first add the node to the Nodes collection and only then set its CheckState
0 comments