localization.invalidFileExtension String

Sets the text of the validation message for an invalid file extension.

Example

<input type="file" name="files" id="photos" />
<script>
    $("#photos").kendoUpload({
        async: {
            saveUrl: "http://my-app.localhost/save",
            removeUrl: "http://my-app.localhost/remove"
        },
        localization: {
            invalidFileExtension: "customInvalidFileExtension"
        }
    });
</script>
In this article