Set FileExplorer in ReadOnly mode

2 posts, 0 answers
  1. Dédé
    Dédé avatar
    60 posts
    Member since:
    May 2009

    Posted 29 Jun 2009 Link to this post


    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 ?

  2. Fiko
    Fiko avatar
    1406 posts

    Posted 29 Jun 2009 Link to this post

    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,
    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.
Back to Top