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

RadAsyncUpload - Fails with large files - Error call does not work

1 Answer 114 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Codfish
Top achievements
Rank 1
Codfish asked on 29 Jul 2015, 02:20 PM

Hi,

I am using the RadAsyncUpload control file.

We want to limit the max upload file size at 30MB.

We have set this up in our Web.Config, and a standard FileUpload form control works fine.

If the user uploads more than 30MB, we handle the 404.13 httpErrors, and redirect to an error page if the user tries to upload more.

However, when testing this with the RadAsyncUpload control, the File upload hangs with a flashing yellow light. Analysing this with developer tools in different browsers, I can see that it tries to upload, but must hit the error, the next command is a call to our error page, URL is all correct, response body is correct, but nothing happens. It appears that the RadAsyncUpload Control somehow surpresses the Redirect and doesn't do anything, but I can see it trying to happen.

I have tried:

  • Setting the MaxFileSize in the control
  • Handling: OnClientFileUploadFailed, OnClientValidationFailed, neither of which hit.

What can I do to fix this? I am lost where to go next.

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 30 Jul 2015, 06:00 AM
Hi,

Can you paste your markup here? Also what is your browser? Please not that MaxFileSize is in bytes.

Regards,
Hristo Valyavicharski
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
Tags
AsyncUpload
Asked by
Codfish
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or