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

How can I set TemporaryFolder?

3 Answers 176 Views
Editor
This is a migrated thread and some comments may be shown as answers.
BiBongNet
Top achievements
Rank 2
BiBongNet asked on 16 Oct 2012, 05:21 PM
Hi,

I set  EnableAsyncUpload="True" for ImageManager, MediaManager..., but cannot find where to set TemporaryFolder for AsyncUpload of the editor. It is using the default ~/App_Data/RadUploadTemp. Is there any way to change it?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Oct 2012, 12:53 PM
Hi,

You can set the temporary folder globally in the appSettings section of the web.config.as follows.

<add key="Telerik.AsyncUpload.TemporaryFolder" value="[path_to_the_temporary_folder]" />


Thanks,
Princy.
0
BiBongNet
Top achievements
Rank 2
answered on 17 Oct 2012, 02:49 PM
Thank you Princy. I know this. However, sometimes I would like to set the folder dynamically, for different cases.

Thanks.
0
Rumen
Telerik team
answered on 18 Oct 2012, 01:08 PM
Hello,

You can try to access the AsyncUpload control in the FileBrowser dialogs of RadEditor using as a base the code solution provided in this KB article: Displaying single upload control in the FileBrowser Upload manager.

Regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
BiBongNet
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
BiBongNet
Top achievements
Rank 2
Rumen
Telerik team
Share this question
or