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

File gets re uploaded on refreshing browser

1 Answer 165 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Anjana
Top achievements
Rank 1
Anjana asked on 28 Jan 2015, 12:33 PM
Hi,

I am using Radupload control to upload files. After successful upload of file if page is refreshed then uploaded file is getting re upload. Please provide a solution. I can not use response.redirect() after first time upload.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 02 Feb 2015, 08:18 AM
Hi,

This is a browser limitation and RadUpload cannot work around it. If one refreshes the page the browser executes the last request as it was.

The only way to work around the above behavior is to switch to RadAsyncUpload instead of RadUpload. RadAsyncUpload automatically handles this and many other problems seamlessly hence providing better experience for the developers.

Regards,
Genady Sergeev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Upload (Obsolete)
Asked by
Anjana
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or