New to Kendo UI for jQueryStart a free 30-day trial

Directory

configuration

Enables the selection of folders instead of files. When the user selects a directory, its entire content hierarchy of files is included in the set of selected items. The directory setting is available only in browsers which support webkitdirectory.

When set, the property allows you to select only folders for upload. Files cannot be selected. In browsers which do not support the directory feature, the behavior falls back to the default file selection.

directory

Boolean

Default: false

<div>
 	<input name="files" id="files" type="file" />
 	<div class="dropZoneElement">Drag and drop file here</div>
</div>
<script>
    $(document).ready(function() {
        $("#files").kendoUpload({
            async: {
                saveUrl: "http://my-app.localhost/save",
                removeUrl: "http://my-app.localhost/remove"
            },
            directory: true
        });
    });
</script>
Not finding the help you need?
Contact Support