4 Answers, 1 is accepted
0
Hi Yang,
There is no property with such name in the RadAsyncUpload control. The property, which sets the expiration time of the files in the Temporary folder is TemporaryFileExpiration. The property accepts TimeSpan values. The default value is 4 hours. More information regarding the TimeSpan structure can be found here.
However I checked our documentation, but there we have a mistake, which we will fix - this property could not be set globally from the web.config(it could be set in the markup of the control or in the code behind). If you need to set this property globally, you can create a feature request in our Ideas and Feedback portal. There you can track its status, comment and vote for it.
Please excuse us for the inconveniences caused by this.
Regards,
Aneliya Petkova
Telerik
There is no property with such name in the RadAsyncUpload control. The property, which sets the expiration time of the files in the Temporary folder is TemporaryFileExpiration. The property accepts TimeSpan values. The default value is 4 hours. More information regarding the TimeSpan structure can be found here.
However I checked our documentation, but there we have a mistake, which we will fix - this property could not be set globally from the web.config(it could be set in the markup of the control or in the code behind). If you need to set this property globally, you can create a feature request in our Ideas and Feedback portal. There you can track its status, comment and vote for it.
Please excuse us for the inconveniences caused by this.
Regards,
Aneliya Petkova
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Yang
Top achievements
Rank 1
answered on 02 Jul 2015, 11:46 PM
Sorry, my mistake, it should be TemporaryFileExpiration. If it's set in markup, what's value would be? Should i use ticks or format like 00:00:05 (i.e. 5 minutes) ?
0
Accepted
Hi Yang,
The format you are using is correct, but please note that 00:00:05 is equal to 5 seconds, not minutes. If you need to set 5 minutes, you should write TemporaryFileExpiration = "00:05:00".
Regards,
Aneliya Petkova
Telerik
The format you are using is correct, but please note that 00:00:05 is equal to 5 seconds, not minutes. If you need to set 5 minutes, you should write TemporaryFileExpiration = "00:05:00".
Regards,
Aneliya Petkova
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Yang
Top achievements
Rank 1
answered on 07 Jul 2015, 05:37 AM
Thanks for the help