Hello Ryan Black,
It seems that you are trying to expand an item in your outer tree(
"fileExplorer" ) instead of your inner tree ("
foldertree"). On the other hand, you must specify the property of your business object that
GetItemByPath and
ExpandItemByPath methods use in their search algorithms:
I modified your solution accordingly. Please examine it and let me know if it works for you. Also, please keep in mind that since you have nested
RadTreeViews, you should be careful which
RadTreeView's features you need to use at a certain point. Also, I am not sure why your scenario requires using nested
RadTreeViews, but if your logic can be implemented with just one
RadTreeView, it would simplify your code.
Regards,
Petar Mladenov
the Telerik team
Browse the
videos here>> to help you get started with RadControls for WPF