Pending Review
Last Updated: 19 Feb 2019 07:55 by ADMIN
Created on: 12 Feb 2019 15:36
Category: Upload
Type: Feature Request
File List to always show all files in synchronous mode, even when several are selected together

There should be a render function of some sort that can be called that changes how the Uploads are displayed.
In the attached image, I uploaded a single file, then two additional files.
Rather than having a set of one and a set of two, I'd prefer to have either a set of three, or three sets of 1. 


I understand that the plugin creates an input element for each individual uploading, however, I think there would be value in being able to join or split those files into multiple elements. It may even be beneficial to add and utilize a FileList object in the Kendo Upload object, as this would allow for the uploads to be sorted alphabetically, or by type, and so on. 


To recreate the behavior mentioned, simply upload any number of files to an Upload control and then do that one more time. The behavior can be recreated on the Telerik website demos.

Attached Files:
1 comment
Marin Bratanov
Posted on: 19 Feb 2019 07:55
Hello Ian,

When using the async mode, you will not get such behavior, then all files are listed one after another regardless of the way they were selected:

You can also easily modify the file template: Here's a basic example that shows how you can loop the files selected at once for the synchronous mode:

Here is another example I made for you that shows how you can use the data from the DOM to render your own list independently of the upload in its synchronous mode (basically, loop the file inputs, loop the files in each, render your own list with the information):

That said, I also took the liberty of changing the title to "File List to always show all files in synchronous mode, even when several are selected together" so it is easier to find when someone searches for keywords.

Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.