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
so when i insert the document it should be like that and not just like filelocation/filename.extension
4 Answers, 1 is accepted
0
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
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
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
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
the editor now introduces domain/filepath