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

IE Upload Size Client Side Validation

3 Answers 96 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
stuart
Top achievements
Rank 1
stuart asked on 05 Oct 2012, 09:55 PM
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?

3 Answers, 1 is accepted

Sort by
0
stuart
Top achievements
Rank 1
answered on 09 Oct 2012, 06:09 PM
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?
0
Russell
Top achievements
Rank 1
answered on 19 Apr 2013, 07:27 PM
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?
0
Plamen
Telerik team
answered on 24 Apr 2013, 12:47 PM
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.
Tags
AsyncUpload
Asked by
stuart
Top achievements
Rank 1
Answers by
stuart
Top achievements
Rank 1
Russell
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or