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

How to separate file when I select multiple file at same time?

6 Answers 633 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Thang
Top achievements
Rank 1
Thang asked on 14 Jul 2016, 04:50 AM

Hi all,

I want to separate file when i select multiple file at same time with synchronous mode?

And I use synchronous mode, drap drop file not working in IE?

 

Thanks for reply

6 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 14 Jul 2016, 08:38 AM

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
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Thang
Top achievements
Rank 1
answered on 14 Jul 2016, 08:48 AM

Tks admin

I using mode async, how to submit all file selected ?

 

Example: When I selected 3 file, Kendo request the server 3 times. 

0
Dimiter Madjarov
Telerik team
answered on 14 Jul 2016, 09:01 AM

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
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Thang
Top achievements
Rank 1
answered on 14 Jul 2016, 09:30 AM

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.

 

0
Dimiter Madjarov
Telerik team
answered on 15 Jul 2016, 06:47 AM

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

Regards,
Dimiter Madjarov
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Ewelina
Top achievements
Rank 1
Iron
answered on 08 Aug 2021, 10:49 AM

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  .

 

Neli
Telerik team
commented on 10 Aug 2021, 04:17 PM

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

Tags
Upload
Asked by
Thang
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Thang
Top achievements
Rank 1
Ewelina
Top achievements
Rank 1
Iron
Share this question
or