Approved
Last Updated: 15 Aug 2017 09:38 by ADMIN
To reproduce:

radTreeView1.Filter = "new";
var node = new RadTreeNode( "test" );
radTreeView1.Nodes.Add( node );
//here the node is not in the Nodes collection
if ( radTreeView1.Nodes.Contains( node ) == false )
{
 radTreeView1.Nodes.Add( new RadTreeNode( "test" ) );
}

Workaround: remove the filter, perform the desired check and restore the filter
Approved
Last Updated: 15 Aug 2017 09:36 by Jesse Dyck
Scenario: We have an object P which has two lists of child objects of types C1 and C2.
If we create a list of P and we try to bind the tree to this list and display the two lists as child nodes, we will not succeed.
Approved
Last Updated: 15 Aug 2017 09:33 by ADMIN
ADMIN
Created by: Julian Benkov
Comments: 0
Category: TreeView
Type: Feature Request
0
Private Sub LoadTvObjectInApp()
 
        Dim objectInApps As IQueryable(Of ObjectInApp)
        objectInApps = _context.ObjectInApps.Where(Function(c) (c.ApplicatieCode = "zis") AndAlso Not (c.GroepNaam = "hulp" AndAlso c.IsSysteemObject = True))
        
Approved
Last Updated: 15 Aug 2017 09:33 by Svetlin
Sort the selected nodes according to their position in the tree
Approved
Last Updated: 15 Aug 2017 09:23 by Jesse Dyck
ADMIN
Created by: Stefan
Comments: 1
Category: TreeView
Type: Feature Request
2
RadTreeView. Add node templates as ASP.NET AJAX - http://www.telerik.com/help/aspnet-ajax/treeview-templates-structure.html
Approved
Last Updated: 15 Aug 2017 09:23 by ADMIN
I need to drop a simple plain text from a textbox into a Rad Treeview.
I just read the forum, I'm mixing OLE Drag & Drop and RadTreeView Drag & Drop. The Events seems to be right and they seems to work fine.
But I'm just having a problem with the Visual Indicators of the treeview:

When I drag a regular node inside the treeview, I can see that visual indicators (the target node is highlighted, I can see a line of dots showing the direction above or below the target node, or the "forbidden" cursor, etc).
And when I actually try to drag a simple text inside the treeview, I don't see any of those stuff.
I need the same visual behavior when dropping a simple text. I need to see the indicators and I don't know how to activate them.
Completed
Last Updated: 19 Jun 2017 12:11 by ADMIN
Pressing arrow down or up when renaming item on a list with scrollbar throws null pointer exception. Example solution in attachement. 

Steps to reproduce with attached solution: 
Scroll down to last element (A99) 
Press F2 (rename) and rename to "0"
Press arrow up or down on a keyboard (without pressing enter after rename). -> NullReferenceException is thrown.
Declined
Last Updated: 23 Mar 2017 06:33 by ADMIN
Please refer to the attached screenshot from the Demo application >> General Settings example.

Workaround: 

private void radTreeView1_NodeFormatting(object sender, TreeNodeFormattingEventArgs e)
{
    e.NodeElement.ExpanderElement.Margin = new Padding(2, 0, 0, 0);
}
Completed
Last Updated: 09 Feb 2017 11:29 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 2
Category: TreeView
Type: Bug Report
1
To reproduce:

this.radTreeView1.TriStateMode = true;

RadTreeNode sitesNode = radTreeView1.Nodes.Add("Sites", "Sites", "");
sitesNode.Expanded = true;

RadTreeNode siteNode = new RadTreeNode("A site");
sitesNode.Nodes.Add(siteNode);

RadTreeNode eNode = new RadTreeNode("Event Types");
siteNode.Nodes.Add(eNode);
siteNode.Expanded = true;
RadTreeNode dummy = new RadTreeNode("dummy");
eNode.Nodes.Add(dummy);
dummy.CheckState = ToggleState.On;

RadTreeNode dummy2 = new RadTreeNode("dummy2");
eNode.Nodes.Add(dummy2);
dummy2.CheckState = ToggleState.Off;

Please refer to the attached screenshot. 

Workaround: change the CheckState property after all nodes are added to RadTreeView.

this.radTreeView1.TriStateMode = true;

RadTreeNode sitesNode = radTreeView1.Nodes.Add("Sites", "Sites", "");
sitesNode.Expanded = true;

RadTreeNode siteNode = new RadTreeNode("A site");
sitesNode.Nodes.Add(siteNode);

RadTreeNode eNode = new RadTreeNode("Event Types");
siteNode.Nodes.Add(eNode);
siteNode.Expanded = true;
RadTreeNode dummy = new RadTreeNode("dummy");
eNode.Nodes.Add(dummy);


RadTreeNode dummy2 = new RadTreeNode("dummy2");
eNode.Nodes.Add(dummy2);

dummy2.CheckState = ToggleState.Off; 
dummy.CheckState = ToggleState.On;
Approved
Last Updated: 06 Feb 2017 12:00 by ADMIN
Please refer to the attached gif file and sample project. The screen tip position is not the same each time. Hence, the issue may not be reproducible every time.

Workaround: use the TooltiptextNeeded event.
Completed
Last Updated: 02 Feb 2017 07:45 by ADMIN
Please refer to the attached gif files illustrating the working and non working design time data binding.
Completed
Last Updated: 04 Jan 2017 14:34 by ADMIN
To reproduce: 

Add a RadTreeView and a RadBreadCrumb and two RadButtons on the form and populate the tree view with data. Use the following code snippet:

private void radButton1_Click(object sender, EventArgs e)
{
    this.radBreadCrumb1.DefaultTreeView = null;
}

Random rand = new Random();

private void radButton2_Click(object sender, EventArgs e)
{
    this.radTreeView1.DataSource = null;
    DataTable dt = new DataTable();
    dt.Columns.Add("Id");
    dt.Columns.Add("Name");
    for (int i = 0; i < 10; i++)
    {
        dt.Rows.Add(rand.Next(0, 20), "Node" + i);
    }
    this.radTreeView1.DataSource = dt;
    this.radTreeView1.DisplayMember = "Name";
    this.radTreeView1.ValueMember = "Id";

    this.radBreadCrumb1.DefaultTreeView = this.radTreeView1;
}

Select some node in RadTreeView, the RadBreadCrum is updated respectively. Then click the first button to detach RadTreeView from RadBreadCrumb. Click the second button to populate RadTreeView with new data and associated the RadBreadCrumb with RadTreeView again. As a result you will notice that the last selected node will be loaded.

Workaround: clear the selection in RadTreeView before associating the RadBreadCrumb with RadTreeView:

this.radTreeView1.ClearSelection();
this.radBreadCrumb1.DefaultTreeView = this.radTreeView1;
Completed
Last Updated: 03 Jan 2017 07:06 by ADMIN
To reproduce: 

1. Add a RadTreeView and a RadBreadCrumb. Associated the breadcrumb with the tree.
2. Select a node and use the following code:
this.radBreadCrumb1.DefaultTreeView.Nodes.Clear();

Workaround: set the RadBreadCrumb.DefaultTreeView property to null.
Completed
Last Updated: 27 Dec 2016 15:14 by ADMIN
Completed
Last Updated: 30 Nov 2016 07:35 by ADMIN
Steps to reproduce: 
1. Add RadTreeView with few items 
2. Apply custom filtering 
3. In order to remove the custom filtering and return the default filtering, set the FilterPredicate to null. 
As a result, it is thrown an exception. 

Workaround: 
1. Save the default filter predicate before applying the custom filtering 
2. Clear filter descriptors and set the FilterPredicate property to stored default filter predicate

In the attachments can be found a sample application demonstrating the issue and the workaround 
Completed
Last Updated: 29 Sep 2016 14:33 by ADMIN
To reproduce:
- Add a lot of nodes to the tree (scrollbars must appear).
- Use the following code to add nodes:
public RadForm1()
{
    InitializeComponent();
    radTreeView1.AllowEdit = true;
    RadContextMenu menu = new RadContextMenu();
    RadMenuItem add = new RadMenuItem();
    add.Click += add_Click;
    add.Text = "add";
    menu.Items.Add(add);
    radTreeView1.RadContextMenu = menu;

}
void add_Click(object sender, EventArgs e)
{
    RadTreeNode node = radTreeView1.SelectedNode;

    var newNode = node.Nodes.Add("new node");
    node.Expanded = true;
    radTreeView1.SelectedNode = newNode;
    radTreeView1.BeginEdit();
}
- Add a node and scroll

Workaround:
public RadForm1()
{
    InitializeComponent();
    radTreeView1.TreeViewElement.VScrollBar.Scroll += VScrollBar_Scroll;
    radTreeView1.MouseWheel += TreeViewElement_MouseWheel;
}

void TreeViewElement_MouseWheel(object sender, MouseEventArgs e)
{
    var radTreeView = sender as RadTreeView;
    if (radTreeView.IsEditing)
    {
        radTreeView.EndEdit();
    }
}

void VScrollBar_Scroll(object sender, ScrollEventArgs e)
{
    var radTreeView = (sender as RadScrollBarElement).ElementTree.Control as RadTreeView;
    if (radTreeView.IsEditing)
    {
        radTreeView.EndEdit();
    }
}

Approved
Last Updated: 16 Sep 2016 14:22 by ADMIN
Workaround:

raise a flag before the delete operation and cancel the SelectedIndexChanging event
Completed
Last Updated: 07 Sep 2016 15:12 by ADMIN
Start dragging a node and scroll using the mouse wheel. While scrolling, drop the node. 
Completed
Last Updated: 22 Aug 2016 14:23 by ADMIN
Please refer to the attached sample project and follow the steps: 

If you execute my code sample and try this sequence, you will see my problem:
1- start the application
2- select "test1" on the grid => you see "fonction XX of test1" in the treeview (that's correct)
3- select "test2" on the grid => you see "fonction XX of test2" in the treeview (that's correct)
4- expand all nodes in the treeview
5- uncheck "fonction 31 of test2" in the treeview
6- select "test1" on the grid => you have the error message. On the grid, we have "test1" selected and on the treeview we have "test2".
Note that the problem appears only when checking a node in the treeview on a second level. If you follow this procedure, you will have no problem :
1- restart the application
2- select "test1" on the grid => you see "fonction XX of test1" in the treeview (that's correct)
3- select "test2" on the grid => you see "fonction XX of test2" in the treeview (that's correct)
4- uncheck "fonction 30 of test2" in the treeview
5- select "test1" on the grid => you will have no error. On the grid, we have "test1" selected and on the treeview we have "test1".
6- select "test2" on the grid => you will have no error. On the grid, we have "test2" selected and on the treeview we have "test2" with "fonction 30 of test2" unchecked.

Workaround: in order to synchronize the current row in RadGridView is to change the RadTreeView.DataSource in the RadGridView.CurrentRowChanged event.
Completed
Last Updated: 11 Aug 2016 09:35 by ADMIN
Please refer to the attached gif file.

Workaround: set the Enabled property to false at run time.