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

ValidatingFile don't fire with 0bytes files

1 Answer 55 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
F3M
Top achievements
Rank 2
F3M asked on 03 Feb 2010, 02:27 PM

Hi,

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

Sort by
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.
Tags
Upload (Obsolete)
Asked by
F3M
Top achievements
Rank 2
Answers by
Genady Sergeev
Telerik team
Share this question
or