In the current release of our controls, in order to select an item, this item has to be expanded.
If you want to expand it programatically, then you have to call RadTreeView
's RadTreeView1.ExpandItemByPath(path, separator)
method and after that, get the item using GetItemByPath
|Dispatcher.BeginInvoke(new Action(() =>
| var expandedItem = RadTreeView1.GetItemByPath(pathToItem, separator);
| expandedItem.IsSelected = true;
For our Q2 release, there will be no need for ExpandItemByPath
. Also, there will be no need for Dispatcher
I have attached a sample project demonstrating this functionality.
Take a look at it and if you have further questions or comments, let us know.
the Telerik team