Edit this page

toggle

Toggles the enabled state of 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");

    // Toggles the enabled state of the Upload
    upload.toggle();
</script>

Parameters

enable Boolean

(Optional) The new enabled state of the Upload.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy