New to Kendo UI for jQuery? Download free 30-day trial

Remove Files in the Upload with Confirmation Dialog


Product Progress Kendo UI Upload for jQuery
Operating System Windows 10 64bit
Visual Studio version Visual Studio 2017
Preferred Language JavaScript


How can I remove files in the Kendo UI Upload by displaying a custom confirmation dialog?


The following example demonstrates how to display a custom confirmation dialog by utilizing the kendo.confirm() method.

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

      $(document).ready(function() {
         var fileUidToRemove = "";

            async: {
              autoUpload: false,
              saveUrl: "save",
              removeUrl: "remove",
              withCredentials: false
            remove: function(e) {
              fileUidToRemove = e.files[0].uid;

              kendo.confirm("Remove the file?").then(function(){

See Also

In this article