upload multiple files and attach extra data to each file

1 Answer 182 Views
Upload
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Dan asked on 10 Mar 2022, 08:09 AM

I have a requirement that each file should be assigned to a category. We also need to support multiple files upload. Is this possible using the kendo upload?

I know that I can add extra data but that is for the whole upload and not for each file

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 14 Mar 2022, 02:16 PM

Hello, Dan,

A possible approach would be to iterate the e.files collection in the Upload select event and add the desired fields to the files. 

Let me know if that would work for you.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Upload
Asked by
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Martin
Telerik team
Share this question
or