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

Nee to iterate over the files in OnClientFilesSelected

0 Answers 70 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Julien
Top achievements
Rank 1
Julien asked on 26 Oct 2017, 01:07 PM

Hi,

Here are my needs :

I would like to select multiple files to upload, then click "open" and at this moment (OnClientFilesSelected) I would like to do some tests against the file names. If file name does not validate the test, I would like to remove it from the files to upload (one by one). But in OnClientFilesSelected, I can only get the number of files and cancel the whole selection.

How can I have access to the selected files collection, edit it, and then continue ?

 

The final goal is to "group" files by their names (without extension) : if I upload a.pdf and a.png, I would like to have a row for a.pdf and create an associated input to it instead of creating a row for each file.

Do you have some ideas ? I didn't find what I want in the AsyncUpload API.

No answers yet. Maybe you can help?

Tags
AsyncUpload
Asked by
Julien
Top achievements
Rank 1
Share this question
or