<kendo:upload-validation>

Configures the validation options for uploaded files.

Example

<kendo:upload>
    <kendo:upload-validation></kendo:upload-validation>
</kendo:upload>

Configuration Attributes

allowedExtensions java.lang.Object

A list of the file extensions which are allowed for upload. Recognizes entries of both .type and type values.

Example

<kendo:upload-validation allowedExtensions="allowedExtensions">
</kendo:upload-validation>

maxFileSize float

Defines the maximum file size in bytes allowed for upload.

Example

<kendo:upload-validation maxFileSize="maxFileSize">
</kendo:upload-validation>

minFileSize float

Defines the minimum file size in bytes allowed for upload.

Example

<kendo:upload-validation minFileSize="minFileSize">
</kendo:upload-validation>
In this article
Not finding the help you need?