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

Editor's Absolute Path

1 Answer 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
XiMnet Malaysia
Top achievements
Rank 1
XiMnet Malaysia asked on 03 Apr 2015, 07:46 AM
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 ?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 08 Apr 2015, 06:48 AM
Hello,

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

Regards,
Danail Vasilev
Telerik
 

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

 
Tags
Editor
Asked by
XiMnet Malaysia
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or