I use RadUpload to implement a upload files feature in my application.
I found a strange behavior in the component.
When I try to upload an empty file, the event "ValidatingFile" is not fired and the number of select files is 0.
How can I solve this problem?
Thanks.
Best regards,
Paulo Silva
1 Answer, 1 is accepted
0
Genady Sergeev
Telerik team
answered on 10 Feb 2010, 10:25 AM
Hi F3M Software,
RadUpload will put all 0 bytes files in the InvalidFiles collection. You can access them there and process as necessary. As for the ValidatingFile event, it is not firing for "empty" files. Instead they are automatically put in the InvalidFiles collection.
Greetings,
Genady Sergeev
the Telerik team
Watch a video
on how to optimize your support resource searches and
check out more tips
on the blogs.
Follow the status of features or bugs in
PITS
and vote for them to affect their priority.