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

Upload Issue

1 Answer 25 Views
This is a migrated thread and some comments may be shown as answers.
Wicus
Top achievements
Rank 1
Wicus asked on 12 Jan 2009, 01:58 PM
Hi All,

I would like to know what are the possible mean of preventing the radupload from clearing the selected file on a postback?

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 12 Jan 2009, 02:07 PM
Hi Wicus,

Preserving the file selection between page loads is limited by the browser due to possible security risks. While I am not familiar with all the implications that could have, one of them is that it becomes relatively easy for malicious sites to get the content of private files in one way or another.

As the file input field does not preserve its value, the same applies to the RadUpload control, which utilizes file input fields for file upload handling.

That said, I want to note that RadUpload does not contain specific code for clearing the file input field values.

I hope this helps.

Best regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Wicus
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or