Completed
Last Updated: 21 Jun 2012 03:27 by ADMIN
Use the scrollintoview method of the tree to select a node while the treeview has not the focus.
Completed
Last Updated: 05 Jun 2014 07:08 by Svetlin
The RadTreeView throws NullReferenceException when scrolling is performed if it is loaded from xml document.
Loading the following xml document causes the issue:
<TreeView xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ShowLines="true">
<Nodes Expanded="true" Text="Test1" ImageIndex="0">
<Nodes Expanded="true" Text="Test2" ImageIndex="0">
<Nodes Expanded="true" Text="Test3" ImageIndex="2">
<Nodes Expanded="true" Text="Test4" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test5" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test6" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test7" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test18" ImageIndex="1">
<Nodes Text="Test9" ImageIndex="3" />
<Nodes Text="Test10" ImageIndex="3" />
</Nodes>
<Nodes Expanded="true" Text="Test11" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test12" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test13" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test14" ImageIndex="1">
<Nodes Text="Test15" ImageIndex="3" />
<Nodes Text="Test16" ImageIndex="3" />
<Nodes Expanded="true" Text="Test17" ImageIndex="4">
<Nodes Expanded="true" Text="Test18" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test19" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test20" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test20" ImageIndex="2">
<Nodes Expanded="true" Text="Test21" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test22" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test23" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test24" ImageIndex="1">
<Nodes Text="Test25" ImageIndex="3" />
<Nodes Text="Test26" ImageIndex="3" />
<Nodes Text="Test27" ImageIndex="3" />
<Nodes Text="Test28" ImageIndex="3" />
</Nodes>
<Nodes Expanded="true" Text="Test29" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test30" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test31" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test32" ImageIndex="0">
</Nodes>
<Nodes Expanded="true" Text="Test33" ImageIndex="0">
<Nodes Expanded="true" Text="Test34" ImageIndex="0">
<Nodes Expanded="true" Text="Test35" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test36" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test37" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test38" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test39" ImageIndex="1">
<Nodes Text="Test40" ImageIndex="3" />
<Nodes Text="Test41" ImageIndex="3" />
</Nodes>
<Nodes Expanded="true" Text="Test42" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test43" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test44" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test45" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test46" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test47" ImageIndex="0">
<Nodes Expanded="true" Text="Test48" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test49" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test50" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
<Nodes Expanded="true" Text="Test51" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test52" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test53" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
<Nodes Expanded="true" Text="Test54" ImageIndex="0">
<Nodes Expanded="true" Text="Test55" ImageIndex="1" BackColor="232,255,232" NumberOfColors="1">
<Nodes Text="Test56" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test57" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test58" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test59" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
<Nodes Text="Test60" ImageIndex="3" BackColor="232,255,232" NumberOfColors="1" />
</Nodes>
</Nodes>
</Nodes>
</Nodes>
</TreeView>
Completed
Last Updated: 18 Jun 2012 03:29 by ADMIN
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
Completed
Last Updated: 19 May 2012 06:39 by Svetlin
1. Set CheckBoxes property of RadTreeView to true.
2. Set TriStateMode property of RadTreeView to true.
3. Cancel the node checked state property of a node in the NodeCheckedChanging event
4. The parent node will not be in intermediate checked state.
Completed
Last Updated: 08 May 2012 04:13 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: TreeView
Type: Bug Report
0
I want (for some reason) make nodes in treeview checked in "one line" (i.e. in Nodes collection of any node - no more than one child could be checked). Also, latest (i.e. deepest) node should be selected.

In attached example (see Example.zip):
1. Check node "Node 19" (as a result - nodes "Node 1", "Node 18" and "Node 19" checked and "Node 19" is selected).
2. Uncheck node "Node 1". Should be - nodes "Node 18" and "Node 19" checked and "Node 19" is selected. As a result - exception arised (see text of exception in Exception.zip).

I suppose that it may be connected with "invisibility" of "Node 19" (I mean, if I make this actions with "Node 3" - it works fine).
Completed
Last Updated: 20 Apr 2012 04:27 by ADMIN
It seems that when you try to collapse a node the application thread crashes. The exception seems to point pretty firmly at the Telerik control - when it is applying styles to a node?
Completed
Last Updated: 18 Apr 2012 04:22 by ADMIN
FIX. RadTreeView - exception while filtering a tree scrolled to the bottom end point
Completed
Last Updated: 17 Apr 2012 07:28 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: TreeView
Type: Bug Report
3
The problem may be reproduced in example application in TreeView/First Look 
The scenario is as follows:
-enter some text as a filter
-delete text - filter should be off
-add new node by context menu -> "New Node" appears twice in the tree view
Completed
Last Updated: 08 Apr 2016 11:12 by Svetlin
The check boxes are squeezed when the expanded state of the child nodes is changed in NodeCheckedChanged event.

Possible workaround: use Begin-End update block 
Completed
Last Updated: 16 Apr 2012 07:47 by ADMIN
When using TriStateMode with AutoCheckChildNodes, there is no way to determine whether the events are raised by a user action or by programatically checking a node.
view: CheckedMode enumeration for details
Completed
Last Updated: 12 Apr 2012 04:21 by Svetlin
The checked state of parent node is incorrect when TriStateMode is enabled and it has a child node with no check type.
Completed
Last Updated: 11 Apr 2012 10:37 by ADMIN
ADMIN
Created by: Stefan
Comments: 0
Category: TreeView
Type: Bug Report
3
To reproduce:
  public Form1()
        {
            InitializeComponent();

            for (int i = 0; i < 10; i++)
            {
                RadTreeNode node = new RadTreeNode("Root node " + i);
                for (int j = 0; j < 10; j++)
         
Completed
Last Updated: 09 Apr 2012 04:40 by Svetlin
Hide the AutoScroll property of RadTreeView in design time
Completed
Last Updated: 04 Apr 2012 03:53 by ADMIN
FIX. RadTreeView - SelectedNode and SelectedNodes should be cleared when the DataSource of the control is set to null
test app:
using System;
using System.Data;
using System.Windows.Forms;
using Telerik.WinControls.UI;
namespace Lab.Tree
{
public partial class TreeResetSelectionAfterDataSourceIsSetToNull : MainForm
{
private RadTreeView treeView = new RadTreeView();
public TreeResetSelectionAfterDataSourceIsSetToNull()
{
InitializeComponent();
treeView.Dock = DockStyle.Fill;
treeView.Parent = this;
treeView.BringToFront();
DataTable table = new DataTable();
table.Columns.Add("Id");
table.Columns.Add("Name");
table.Rows.Add("1", "name1");
table.Rows.Add("2", "name2");
table.Rows.Add("3", "name3");
treeView.DisplayMember = "Name";
treeView.DataSource = table;
treeView.MultiSelect = true;
}
protected override void OnButton1Click()
{
Console.WriteLine(treeView.SelectedNodes.Count);
Console.WriteLine(treeView.SelectedNode);
treeView.DataSource = null;
Console.WriteLine("-------------------------------------------");
Console.WriteLine(treeView.SelectedNodes.Count);
Console.WriteLine(treeView.SelectedNode);
}
}
}
Completed
Last Updated: 02 Apr 2012 07:29 by Svetlin
Checked state of the disabled nodes's check boxes is changed after scrolling.
Completed
Last Updated: 17 Oct 2014 08:48 by ADMIN
ADD. RadTreeView - add support for binding the checkboxes of the nodes to a field in the data
Completed
Last Updated: 13 Feb 2014 13:18 by ADMIN
ADMIN
Created by: Stefan
Comments: 0
Category: TreeView
Type: Feature Request
9
ADD. RadTreeView - add NodeRemoving event
Completed
Last Updated: 13 Mar 2012 03:36 by ADMIN
FIX. RadTreeView - the text of disabled nodes is not aligned correctly
Completed
Last Updated: 09 Mar 2012 05:29 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: TreeView
Type: Bug Report
0
I have implemented filtering in radtreeview by using following code in filter button click event:

rtvTaxReturnLines.filter=textFilter.text;

Note: here rtvTaxReturnLines is radtreeview name.

It filter the result by text given by user in textbox.But after filtering if we want to drag and drop some filter results from the treeview to gridview or within the treeview then it is not allowing dragdrop service in filtered result.
Completed
Last Updated: 11 Feb 2014 13:48 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: TreeView
Type: Feature Request
3
So is there an event triggered for added nodes when using a datasource?  I want to set the checked state based on a property on the databound item.  Basically this:

I have a treeview set like this in Q1 2012:
            treeViewProjets.DataSource = ViewModel.Projets;
            treeViewProjets.DisplayMember = @"Nom\Nom";
            treeViewProjets.ValueMember = @"Id\Id";
            treeViewProjets.ChildMember = @"Projets\ObjetsProjet";
            treeViewProjets.NodeAdded += new RadTreeView.RadTreeViewEventHandler(treeViewProjets_NodeAdded);
            treeViewProjets.NodeAdding += new RadTreeView.RadTreeViewCancelEventHandler(treeViewProjets_NodeAdding);
            treeViewProjets.NodeFormatting += new TreeNodeFormattingEventHandler(treeViewProjets_NodeFormatting);

I get a root node and many child nodes created, but the events NodeAdded and NodeAdding are never triggered, NodeFormatting triggers fine.