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

File filtering?

1 Answer 48 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Jay asked on 16 Dec 2013, 10:08 PM
When I view the demo AsyncUpload - Validation, clicking Select opens a file dialog with the files filtered by the extensions. Yet according to the source, it does not make use of File Filtering.

A similar project found at the bottom of this thread also specifies AllowedFileExtensions, but no filtering occurs. How does the online demo perform the filtering?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Dec 2013, 04:33 AM
Hi Jay,

The AllowedFileExtensions property of RadAsyncUpload lists the valid file extensions for uploaded files. When the AllowedFileExtensions property is set, RadAsyncUpload automatically validates the extensions of selected files and it will move any files with disallowed extensions to the InvalidFiles collection.

Thanks,
Shinu.




Tags
AsyncUpload
Asked by
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Shinu
Top achievements
Rank 2
Share this question
or