Approved
Last Updated: 05 Jun 2019 09:30 by ADMIN

Reproduction of the Problem:

Dojo: http://dojo.telerik.com/@grabbi/ayiQOGoT

  • Select multiple files in Upload-Widget with not allowed extensions or filesize greater then allowed
  • Remove one File from the list (not the last one)
  • Then the upload of the next file starts

This behaivior only occures when Chunk Upload is selected and some kind of validation is activated too.

Expected behaivior:

When Removing a file the file is just removed from the list and no upload ist starting.

Code:

 

<input name="file" id="file" type="file" />

<script>

    $(document).ready(function () {

        $("#file").kendoUpload({
            async: {
                withCredentials: false,
                saveUrl: "save",
                chunkSize: 2000000,
                saveField: "files",
                autoUpload: false
            },
            validation: {
                maxFileSize: 500
            }
        });
    });

</script>