Whenever an ajax postback is fired the file selected in the upload control gets cleared. Like if i select a item from dropdown ajax postback is fired and the upload control gets cleared.
1 Answer, 1 is accepted
0
Genady Sergeev
Telerik team
answered on 18 Mar 2009, 03:16 PM
Hello Sandeep Pulkundwar,
Yes, this is one of the limitations of the RadUpload ( the same limitation applies to the standart file input as well). After a postback the upload fields gets cleared. You need to set the path manually once again. This is due to a security reasons, it is not possible to set the file to upload using JavaScript. Oherwise it would have been a back door for a terrible exploits, like uploading random file from your pc.
Unfortunately there is no workaround for this issue.