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

RadFileExplorer and hidden folders

2 Answers 151 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 11 Feb 2009, 01:45 PM
hello Telerik Team,

Is there anyway to get it so that the RadFileExplorer wont display hidden folders.  Currently in my app hidden folders are displayed in the RadFileExplorer i would prefer it not to.

Regards

Ian

2 Answers, 1 is accepted

Sort by
0
Ian
Top achievements
Rank 1
answered on 12 Feb 2009, 10:29 AM
Does anyone know the answer to this one?
0
Lini
Telerik team
answered on 16 Feb 2009, 02:16 PM
Hello Ian,

We have no option to remove the hidden files or folders from the file explorer. However, you can change this behavior by using a custom content provider. Override the default FileSystemContentProvider and its function that returns a list of folders (ResolveRootDirectoryAsTree). Check each folder in the list and remove it if it is hidden.

All the best,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Ian
Top achievements
Rank 1
Answers by
Ian
Top achievements
Rank 1
Lini
Telerik team
Share this question
or