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

OnFileUploaded not firing if uploaded file exceeds MaxFileSize

1 Answer 40 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 30 Jan 2014, 08:50 PM
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?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Jan 2014, 07:03 AM
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.

Thanks,
Shinu.
Tags
AsyncUpload
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or