How can I set TemporaryFolder?

4 posts, 0 answers
  1. BiBongNet
    BiBongNet avatar
    27 posts
    Member since:
    May 2010

    Posted 16 Oct 2012 Link to this post

    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.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 17 Oct 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. BiBongNet
    BiBongNet avatar
    27 posts
    Member since:
    May 2010

    Posted 17 Oct 2012 Link to this post

    Thank you Princy. I know this. However, sometimes I would like to set the folder dynamically, for different cases.

    Thanks.
  5. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 18 Oct 2012 Link to this post

    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.
Back to Top