OnFileUploaded not firing if uploaded file exceeds MaxFileSize

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    4 posts
    Member since:
    Feb 2011

    Posted 30 Jan 2014 Link to this post

    I have noticed that the OnFileUpload event will not fire if you are uploading a single file that exceeds the MaxFileSize. Has someone else noticed this and found a solution or work around for it?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 31 Jan 2014 in reply to Benjamin Link to this post

    Hi Benjamin,

    As far as I know it is not possible to upload the file which exceeds the MaxFileSize .RadAsyncUpload can automatically validate file using the AlloweFileExtensions and MaxFileSize properties. All files with invalid extensions and size more than MaxFileSize will reject on the client side itself, without wasting bandwidth to upload them to the server. So these file will not upload to the server. The server side FileUploaded event will fire separately for each and every valid uploaded file.

  3. DevCraft R3 2016 release webinar banner
Back to Top