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

Fires each time the user removes a file attachment.

Event Data

e.file Object

The file that was removed.

e.files Array

The remaining attached files after removal.

<div id="promptbox"></div>
<script>
$("#promptbox").kendoPromptBox({
    fileSelectButton: true,
    placeholder: "Attach and remove files...",
    fileRemove: function(e) {
        console.log("Removed file:", e.file.name);
        console.log("Remaining files:", e.files.length);
    }
});
</script>
Not finding the help you need?
Contact Support