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

getting double fault message when selecting a file

1 Answer 59 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Paul Evers
Top achievements
Rank 2
Paul Evers asked on 24 Jun 2014, 01:39 PM
When I select a file for uploading in RadFileExplorer with an extension that is not allowed I get the message:
===========
The size of the uploaded file exceeds max size allowed
The extension of the uploaded file is not valid. Please, provide a valid file!
===========
The size does not exceed the max size allowed.

Also when I select a file with an allowed extension and a size that does exceeds the max size I also get this double message.
Why do I receive both messages and can this be more accurate?

Paul

1 Answer, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 26 Jun 2014, 04:29 PM
Hi Paul,

This is known limitation of the RadAsynUpload control caused by the fact the OnClientValidationFailed event is called in both invalid-file-size and invalid-file-type cases and at present there is no way to determine what is the exact cause for the fail of the validation.

Hope this information will be helpful for you.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
sebastian
Top achievements
Rank 1
commented on 09 Dec 2022, 03:07 AM

Planning on fixing this any time? Pretty much makes catching the error useless if we're not displaying the right message....
Rumen
Telerik team
commented on 13 Dec 2022, 12:46 PM

Tags
FileExplorer
Asked by
Paul Evers
Top achievements
Rank 2
Answers by
Vessy
Telerik team
Share this question
or