Nee to iterate over the files in OnClientFilesSelected

1 posts, 0 answers
  1. Julien
    Julien avatar
    9 posts
    Member since:
    Jun 2016

    Posted 26 Oct 2017 Link to this post


    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.

Back to Top