6 Answers, 1 is accepted
Hello Thang,
Both of the requirements (separating the files and drag/drop) are not supported in synchronous mode. Basically the synchronous mode does not differ much from a regular <input type="file" /> element which is styled as a Kendo UI Upload widget.
Regards,Dimiter Madjarov
Telerik by Progress
Tks admin
I using mode async, how to submit all file selected ?
Example: When I selected 3 file, Kendo request the server 3 times.
Hello Thang,
Yes, this is the default behavior of the widget - each file is sent in a separate request. If you would like to post all files in a single request, you should enable the async.batch option of the widget.
Regards,Dimiter Madjarov
Telerik by Progress
Tks Admin
And I last question: I can get files selected before upload ?
Purpose: I want to separate file and submit all file to server 1 time.
Hello Thang,
The select event of the Upload widget could be used to retrieve the selected files before uploading them.
http://docs.telerik.com/kendo-ui/api/javascript/ui/upload#events-select
Dimiter Madjarov
Telerik by Progress
Hello,
But what in case I want single request to the server so i have batch option set to true ( async mode) , but i need visualy show user files separetly with posibility to remove single file... Options which were developed to change the core of process like in how many request we are sending file to server should not influence at user experience of it. User should not know that we change option to one request to the server .
Hi Ewelina,
I am afraid that uploading multiple files and removing a single one is currently not supported when the batch option is enabled.
Regarding displaying information about every single file, you could customize the current appearance by using the template option.
Regards,
Neli