enable

Enables the Upload.

Example

<input type="file" name="files" id="upload" />
<script>
    // The Upload is disabled when initialized
    $("#upload").kendoUpload({
        enabled: false
    });

    var upload = $("#upload").data("kendoUpload");

    // Enables the Upload
    upload.enable();
</script>

Parameters

enable Boolean (optional)

The argument which defines whether to enable or disable the Upload.

In this article