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

Cancelling a 0 length upload

1 Answer 45 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Jul 2014, 07:40 PM
I have checked and tried the suggestion in forum thread http://www.telerik.com/forums/how-to-cancal-file-uplading-if-the-file-size-is-zero where it suggests catching the filesize in the OnFileUploaded event. However, I'm finding that the event does not get fired for a 0 length file. We're using version 2014.1.225.0.

Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Jul 2014, 05:56 AM
Hi john ,

From Q2 2012 SP2 version RadAsyncUpload cannot upload zero byte file in FileApi module. So from client side itself validation will perform and the file will not upload to the server. Please check the module used in your application.

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