Search in RadTreeListView

2 posts, 0 answers
  1. Tarun Jain
    Tarun Jain avatar
    6 posts
    Member since:
    Sep 2009

    Posted 11 Jul 2012 Link to this post


    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?

  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 12 Jul 2012 Link to this post

    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 >>

Back to Top