How to use it to select a folder

2 posts, 0 answers
  1. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 31 Mar 2010 Link to this post


    Is there a way to display only folders, without files they contain and allows for selecting a folder ?

    Thanks for help
  2. Lini
    Lini avatar
    2144 posts

    Posted 02 Apr 2010 Link to this post


    You can use the RadFileExplorer client API to raise an event each time a folder is clicked(selected) or opened (loaded). See the following example for more details -

    If you don't want to display the files, you need to customize the file explorer's content provider. The following example shows how to filter files and folders - Your case is much simpler - you only need to override the ResolveDirectory method to filter files and simply return an empty collection where the files should be.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top