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

Upload Files and directories

3 Answers 97 Views
Upload
This is a migrated thread and some comments may be shown as answers.
PDS
Top achievements
Rank 1
PDS asked on 26 Nov 2014, 11:23 AM
Hi.

I would like to customize the upload control so that it provide the option to upload files (possibly multiple) and directories. Possibly by adding a second selection button.
My current approach is to create two upload panels and them move one of the buttons to one other panel. Like this:
$("#filesPanel .k-dropzone:eq(1)").appendTo($("#filesPanel .k-upload:eq(0)"))

This still works but the file ul lists are still separated, is there a way I can have the selected files appear in the same ul list. Or at list have both ul list unther the same div block?

Any other approach suggestion is welcome.

Thanks.

Lutfi

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 26 Nov 2014, 03:31 PM
Hello Lutfi,


Displaying the selected files of two Upload widgets in a single list is not supported. Nevertheless you could set their showFileList option to false and manually create the file list, similarly to the approach in the following Code Library, in which we demonstrate how to display the files in a Grid (you could use a regular <ul> too).

I hope this information helps.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
PDS
Top achievements
Rank 1
answered on 04 Dec 2014, 03:03 PM
Thanks Dimiter.
At the end I created to components on the same page and moved one of the buttons to the other component with jQuery.
0
Dimiter Madjarov
Telerik team
answered on 04 Dec 2014, 03:11 PM
Hello Lutfi,


Thanks for the update. Do not hesitate to contact us for further issues.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Upload
Asked by
PDS
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
PDS
Top achievements
Rank 1
Share this question
or