This is a migrated thread and some comments may be shown as answers.

Search in RadTreeListView

1 Answer 36 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Tarun Jain
Top achievements
Rank 1
Tarun Jain asked on 11 Jul 2012, 01:46 PM
Hey,

We have an Windows Explorer kind of implementation where we have folders and files. We are using RadTreeListView for our application.

I need your inputs in following case:

1. Let's a user search for a file.
2. File is found and location is tracked.
3. In that case, my folder structure should automatically opened [in explorer via RadTreeView]  and pointing to folder just tracked.

I'm trying to search file in already data bound RadTreeview. I tried to explore Items property but somehow it returned only null.
Can you please help, how to find a particular item/node in TreeListView?

Thanks,
Tarun

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 12 Jul 2012, 08:13 AM
Hi Tarun,

Having the Items property being null means you are trying to access it to early e.g. before the data is loaded.
You can check the items property from within the DataLoaded event . Let me know in case this does not work for you.

All the best,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TreeListView
Asked by
Tarun Jain
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or