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

Delete imge From Tempfolder

3 Answers 172 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
shaik Mohammed
Top achievements
Rank 1
shaik Mohammed asked on 22 May 2014, 11:57 AM
Hi,

How to set delete image from TempFolder after 20Munites.

Thanks
Yasin

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 22 May 2014, 12:51 PM
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.
0
shaik Mohammed
Top achievements
Rank 1
answered on 25 May 2014, 07:23 AM
Hi Shinu,

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

Regards,
Yasin
0
Accepted
Shinu
Top achievements
Rank 2
answered on 26 May 2014, 05:38 AM
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.
Tags
AsyncUpload
Asked by
shaik Mohammed
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
shaik Mohammed
Top achievements
Rank 1
Share this question
or