Upload Files and directories

4 posts, 1 answers
  1. PDS
    PDS avatar
    6 posts
    Member since:
    Mar 2011

    Posted 26 Nov 2014 Link to this post

    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
  2. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2159 posts

    Posted 26 Nov 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. PDS
    PDS avatar
    6 posts
    Member since:
    Mar 2011

    Posted 04 Dec 2014 in reply to Dimiter Madjarov Link to this post

    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.
  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2159 posts

    Posted 04 Dec 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready