More in this section

Forums / Developing with Sitefinity / Is there a way to set a default starting directory for File Manager Selector

Is there a way to set a default starting directory for File Manager Selector

2 posts, 0 answered
  1. Martin Chamorro
    Martin Chamorro avatar
    5 posts
    Registered:
    03 Feb 2010
    08 Feb 2010
    Link to this post
    My company wants to know if there is a way to set a default directory when using the following selector:

    [WebEditor("Telerik.FileManager.UrlWebEditor, Telerik.FileManager")]

    This would be helpful for user controls we create where we allow a user to select an image. We would like to set the default directory to the images folder.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    09 Feb 2010
    Link to this post
    Hello Martin Chamorro,

    The built-in WebEditor does not support setting default folder or setting permissions over a folder. You will need a custom selector that lists only certain directory from your file system from where you can select/upload files. You can expose a property in your custom selector from where you can set the path which should be used by the selector. You can bind the file system files to RadGrid control.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
2 posts, 0 answered