Delete imge From Tempfolder

4 posts, 1 answers
  1. shaik Mohammed
    shaik Mohammed avatar
    12 posts
    Member since:
    Apr 2014

    Posted 22 May 2014 Link to this post

    Hi,

    How to set delete image from TempFolder after 20Munites.

    Thanks
    Yasin
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 May 2014 in reply to shaik Mohammed Link to this post

    Hi shaik Mohammed,

    Please try to set the TemporaryFileExpiration property of RadAsyncUpload to 20 min. This Property Sets how long temporary files should be kept before automatically deleting them. The property accepts TimeSpan values.

    C#:
    RadAsyncUpload1.TemporaryFileExpiration = new TimeSpan(0, 20, 0);

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. shaik Mohammed
    shaik Mohammed avatar
    12 posts
    Member since:
    Apr 2014

    Posted 25 May 2014 in reply to Shinu Link to this post

    Hi Shinu,

    Thanks for quick response. i wonder is it possible to add in .aspx instead of code behind?

    Regards,
    Yasin
  5. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 May 2014 in reply to shaik Mohammed Link to this post

    Hi shaik Mohammed,

    Please try the following ASPX to achieve your scenario.

    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" TemporaryFileExpiration="00:20:00">
    </telerik:RadAsyncUpload>

    Thanks,
    Shinu.
Back to Top