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

document manager

4 Answers 100 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Troika
Top achievements
Rank 1
Troika asked on 09 Mar 2014, 03:04 PM
i have a document manager and when i insert a document with the editor i want the url to be like http://domain/filelocation/DownloadHandler.ashx?path=../filelocation and name without the extension because the default behaviour dont allow to change url for a file

so when i insert the document it should be like that and not just like filelocation/filename.extension

4 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 12 Mar 2014, 12:20 PM
Hi Troika,

Note that if a custom content provider is used to populate the FileBrowser dialog, you should modify the DocumentManager dialog as per to the logic of the used customization. The document manager as a built-in feature works correctly with the file extensions correctly and the vise versa would be a faulty behavior.

To customize the FileBrowser dialogs, please follow the steps provided in this live example.

Regards,
Ianko
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Troika
Top achievements
Rank 1
answered on 13 Mar 2014, 04:50 PM
i havent understood if i have to put a button on the editor and how it inserts the downloadhandler before the filename
0
Ianko
Telerik team
answered on 17 Mar 2014, 01:07 PM
Hi Troika,

Please provide more details about the approach with which you have difficulties.

Note that the information provided does not clarifies what exactly is the problem and what is the configuration of the project, leading to it.

Regards,
Ianko
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Troika
Top achievements
Rank 1
answered on 21 Mar 2014, 02:33 PM
i have the editor and document manager and it introduces the document path where the file is so i need to change the path that the editor introduces to http://domain/uploads/DownloadHandler.ashx?path=../filepath
the editor now introduces domain/filepath
Tags
Editor
Asked by
Troika
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Troika
Top achievements
Rank 1
Share this question
or