Editor's Absolute Path

2 posts, 0 answers
  1. XiMnet Malaysia
    XiMnet Malaysia avatar
    50 posts
    Member since:
    Jan 2006

    Posted 03 Apr 2015 Link to this post

    Hi, we are using the Editor to upload file to another folder outside of the website folder.
    Is there a way to change the Editor's Absolute Path programmatically?

    Example in http://www.abc.com/admin/

    1. We set the Image Manager path using ~/client/{client_name} which is a virtual folder pointing to folder outside of the current website folder. The {client_name} is a variable depending on current user.

    2. The editor will then automatically set the image path as http://www.abc.com/client/{client_name}/image.jpg.

    3. Is there a way to change the absolute path to http://www.fileserverabc.com/client/{client_name}/image.jpg
        instead of http://www.abc.com/client/{client_name}/image.jpg ?

  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 08 Apr 2015 Link to this post


    The ImageManager actually inherits the RadFileExplorer control. In order to configure RadFileExplorer to work with shared drives or physical paths you need to implement a custom content provider. Such provider is available in the following KB article:
    Use RadFileExplorer with physical and shared folder's paths

    More detailed information on how to implement custom content provider is available in the following help article: Using custom FileBrowserContentProvider

    Danail Vasilev

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top