Create a new project and add RadTreeView Handle the Click event Call the Close method of the Form when handling the Click event
1. navigate to some tree item, try to right-click it to see context menu. It is working ok 2. have the focus on tree item, and having the mouse over that item, try to press context keyboard button
To reproduce use this code: RadTreeView tree = new RadTreeView(); tree.Name = "tree"; RadTreeNode[] nodes = new RadTreeNode[5]; for (int i = 0; i < nodes.Length; ++i) nodes[i] = new RadTreeNode(i.ToString()); tree.Nodes.AddRange(nodes); tree.Nodes.Clear(); tree.Nodes.AddRange(nodes);
Use the project from the ticket to reproduce this issue.
Use the scrollintoview method of the tree to select a node while the treeview has not the focus.
To reproduce: void radTreeView1_EditorInitialized(object sender, TreeNodeEditorInitializedEventArgs e) { TreeViewTextBoxEditor editor = e.Editor as TreeViewTextBoxEditor; BaseTextBoxEditorElement element = (BaseTextBoxEditorElement)editor.EditorElement; element.TextChanging+=new TextChangingEventHandler(element_TextChanging); } void element_TextChanging(object sender, TextChangingEventArgs e) { e.Cancel = true; }
FIX. RadTreeView - updating a field in the DataBoundItem of a node is not automatically reflected
Please refer to the attached gif files illustrating the working and non working design time data binding.
1. Create a new project and add RadTreeView 2. Add Add and Clear buttons 3. On Add button click - add nodes 4. On Clear button click - call the Clear method of the Nodes collection 5. Run the project and click the Add/Clear methods several times
1. Create a new project with RadTreeView 2. Run the project 3. Click inside RadTreeView 4. Press the up/down arrows several times 5. An exception will occur
When there is a tree node with long text and the FullRowSelect property is set to false and you click on this node, the scrollbar will scroll to right.
To reproduce: - populate a tree with some nodes in different levels - set the ShowLines to true - select a node on the second level - clear the nodes on a button click => exception is thrown WORKAROUND: radTreeView1.ShowLines = false; radTreeView1.Nodes.Clear(); radTreeView1.ShowLines = true;
Workaround: this.radTreeView1.SelectedNode = null;
IMPROVE. RadTreeView - add support for DataBindings of RadTreeNode Resolution: The feature is duplicated with feedback item ADD. RadTreeView - add support for binding the checkboxes of the nodes to a field in the data Here is the link to item: http://feedback.telerik.com/Project/154/Feedback/Details/112624-add-radtreeview-add-support-for-binding-the-checkboxes-of-the-nodes-to-a-field.
The images and SignStyle cannot be modified using Visual Style Builder.
FIX. RadTreeView - Collapse method of RadTreeNode throws an exception if uised afrer children are added
RadTreeView arrow keys navigation is not correct in RTL mode. It should expand with left key and collapse with right key (the opposite of normal mode)
FIX. RadTreeView throws exception when node text is changed to empty string in bound mode
FIX. RadTreeView SelectedNodeChanged is fired even when you click outside the node with disabled FullRowSelect
To reproduce: for (int i = 0; i < 10; i++) { RadTreeNode node = new RadTreeNode("Node " + i); radTreeView1.Nodes.Add(node); node.Style.GradientStyle = GradientStyles.Solid; node.Style.BackColor = System.Drawing.Color.LightCoral; } Workaround: use NodeFormatting