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.