Allow setting the AutoExpand time of node when drag operation is performing.
Currently, when a node is checked its parent/child nodes are checked accordingly and for each node that has its checked state changed the NodeCheckedChanged is fired. However, there is not way to know whether the event is fired because of manual user action on the node (clicking the checkbox, pressing Space/Enter keys) or because the node is in parent/child relation with the 'clicked' node. So, event arguments about that should be added.
The event is fired then drag and drop is performed in unbound mode but not when in bound mode
FIX. RadTreeView - when adding row in the underlying source, the nodes in the tree are collapsed, even when using DeferRefresh
The SelectedNodes collection is not cleared, when the clear all nodes in single selection mode.
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.
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; }
Improve the drag and drop indicators by giving more clean user friendly design and positioning.
To reproduce: myTree.TreeViewElement.Comparer = new TreeSort(myTree.TreeViewElement); Work around: None
To reproduce: public Form1() { InitializeComponent(); DataTable table = new DataTable(); table.Columns.Add("ID"); table.Columns.Add("Name"); for (int i = 0; i < 10; i++) {
Vertical scroll bar is not shown if the expanded node's child nodes have been collapsed in NodeExpandChanged event previously. The code snippet bellow causes the issue: void radTreeView1_NodeExpandedChanged(object sender, RadTreeViewEventArgs e) { bool isExpanded = e.Node.Expanded; if (!isExpanded) { foreach (RadTreeNode node in e.Node.Nodes) { node.Expanded = false; } } }
1. Create a new project with RadTreeView. 2. Add 30 nodes in a cycle on Form.Shown event. 3. Use BeginUpdate/EndUpdate methods when adding every single node. 4. Set the SelectedNode property of RadTreeView every time.
When the RadTreeView is disabled, nodes text is rendered as bold text.
1. Place a RadTreeView in a form and add enough items to show scrollbars; 2. Show the form using ShowDialog() and close it 3. Open it again and note that there are no scrollbars in the RadTreeView
We upgraded to Telerik.WinControls 2012.2.726.20 I tried adding a RadTreeNode as follows RadTreeNode rtn1 = new RadTreeNode("C1"); rtn1.CheckType = CheckType.RadioButton; rtn1.CheckState = Telerik.WinControls.Enumerations.ToggleState.On; received an error when running.
To reproduce, use the following code. Once the app starts, expand nodes 1, 5,10, 15 and 19. Scroll to the very bottom and filter the tree: public partial class Form1 : RadForm { public Form1() { InitializeComponent();
The node find methods of RadTreeView should not perform over the inernal RootTreeNode.
When I execute TreeView.SelectedNodes.Clear() during runtime, the SelctedNodeChanged event is not fired letting me know that the current selected node was changed to no selection. Should that qualify for a selection change event? Eessentially, the selected node has changed, but to no selection. The SelectedNodeChanging event does not fire as well. What event will let me know that a selection has been removed (changed)?
To reprodice: for (int i = 0; i < 20; i++) { RadTreeNode node = new RadTreeNode("Node " + i); node.ToolTipText = "hello " + i; radTreeView1.Nodes.Add(node); }