This is a migrated thread and some comments may be shown as answers.
Set FileExplorer in ReadOnly mode
1 Answer 32 Views
This is a migrated thread and some comments may be shown as answers.
Dédé
Top achievements
Rank 1
Dédé asked on 29 Jun 2009, 08:35 AM
Hi,

I would like to know how I can set the FileExplorer in Readonly mode, no matter the value of PathPermissions on files/folders.

I have written my own FileBrowserContentProvider, for my database filesystem, but the "readonly mode" data is not in the filesystem data, but somewhere else in my app (computed value).

So is it possible to add a "readonly" mode to the FileExplorer, that deactivate toolbar buttons, context menu, and drag-drop ?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 29 Jun 2009, 02:35 PM
Hello Damien,

If you miss to specify the  DeletePaths and UploadPaths properties then the files and folders in the RadFileExplorer control will become read-only. In the newest version of the control(it can be observed in the current BETA release) the delete, upload buttons an context menu items disappear from the RadFileExplorer control. Also, I believe that this KB article will be of help in order to customize the toolbar and context menus in RadFileExplorer.

All the best,
Fiko
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.
Asked by
Dédé
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or