IE Upload Size Client Side Validation

4 posts, 0 answers
  1. stuart
    stuart avatar
    8 posts
    Member since:
    Oct 2012

    Posted 05 Oct 2012 Link to this post

    In Chrome, Firefox, and other common browsers, I get a client-side validation error whenever I attempt to upload a file bigger than 2GB (OnClientValidationFailed is called). However, in IE 9, I don't get a warning when using the ASP.NET handler or flash (warning only appears on Silverlight). in IE, the upload continues but never succeeds.

    MaxFileSize is set to 2097152000 bytes which is 2 GB.

    Is there a way to get IE to do client size validation for the file size? If not, what is the best alternative?
  2. stuart
    stuart avatar
    8 posts
    Member since:
    Oct 2012

    Posted 09 Oct 2012 Link to this post

    Any help on this issue?

    It appears that in IE 9, I can upload a file that exceeds the max file size. I only get the error after the file has been uploaded or is at around 97% complete. This only happens in IE when I am using Flash or no plugins at all. Is this the expected behavior?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Russell
    Russell avatar
    1 posts
    Member since:
    Jun 2011

    Posted 19 Apr 2013 Link to this post

    I am also seeing this issue with IE9.  When I upload a large file, it follows through with the entire upload and then finally fails on client validation because the file size is too large.  I see an immediate failure on Chrome and Firefox, which is what I expect to see in IE.

    Any way to force client side size validation on IE so the user does not have to wait for the download?
  5. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 24 Apr 2013 Link to this post

    Hi Russell,

     
    I have tested the issue with the following sample code and it validated properly at the beginning in IE as well with the latest version:

    <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" MaxFileSize="2097152000">
     
          </telerik:RadAsyncUpload>

    Please let me know if your scenario is somehow different.

    All the best,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top