getting double fault message when selecting a file

2 posts, 1 answers
  1. Paul Evers
    Paul Evers avatar
    50 posts
    Member since:
    Oct 2011

    Posted 24 Jun 2014 Link to this post

    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?

  2. Answer
    Vessy avatar
    1664 posts

    Posted 26 Jun 2014 Link to this post

    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.


    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.

Back to Top