Approved
Last Updated: 29 Dec 2016 16:00 by ADMIN
ADMIN
Telerik Admin
Created on: 11 Nov 2010 10:51
Category: TreeView
Type: Bug Report
3
TreeView: SelectedItem property should not accept RadTreeViewItem objects when is data bound
SelectedItem property should not accept RadTreeViewItem objects when is data bound.

Reason for decline:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
Joe
Posted on: 24 Jun 2011 09:32
What does this mean?
ADMIN
Petar Mladenov
Posted on: 03 Nov 2014 15:53
SelectedItem should return business object in databound scenarios. Setting SelectedItem to container with the following code:

 this.xTree.SelectedItem = this.xTree.ItemContainerGenerator.ContainerFromIndex(0);

should resutl in no selection. This is how the ListBox or the TreeView (MS controls work).