How to cancal file uplading and alert a message if the uploaded file size is zero?
3 Answers, 1 is accepted
0
Plamen
Telerik team
answered on 18 Sep 2012, 12:19 PM
Hello,
This can not be done on the client-side but you can use the OnFileUploaded event and if the e.File.ContentLength is zero to set the "IsValid" property to false.
Hope this will be helpful.
Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
How can I check it in client side instead of server side?
0
Plamen
Telerik team
answered on 19 Sep 2012, 05:46 AM
Hello,
Unfortunately this can not be checked on the client side.
All the best,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.