When I upload a file using radUpload it loads great - then if I work backwards - as some users do - I select a radio button that does ajax update - I am losing the file in the radUpload. I have set this radUpload.EnableViewState = true. This doesn't seem to work. Ideas? Thanks.
2 Answers, 1 is accepted
0
Genady Sergeev
Telerik team
answered on 29 Jul 2009, 06:48 AM
Hello Amanda Jackson,
RadUpload cannot upload files using AJAX calls. This is a limitation of the XmlHttpRequest component, used in all AJAX frameworks for
asynchronous calls to the application. In order to upload a file your application must perform a full page postback. Unfortunately there is no workaround for this issue.
When there are selected files in the RadUpload and an AJAX postback is triggered the file selected in the RadUpload is lost. The way to work around this issue is to move your RadUpload away from the UpdatePanel that holds the RadioButtons. RadUpload should not be interacted by an AJAX update, otherwise the selection is lost.