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

2 posts, 0 answers
  1. Codfish
    Codfish avatar
    3 posts
    Member since:
    Jun 2014

    Posted 29 Jul 2015 Link to this post

    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

     

  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 30 Jul 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top