<kendo:fileManager-upload-async>

Configures the asynchronous upload of files. For more details, refer to the article on the async mode of the Upload.

Example

<kendo:fileManager-upload>
    <kendo:fileManager-upload-async></kendo:fileManager-upload-async>
</kendo:fileManager-upload>

Configuration Attributes

autoRetryAfter float

If async.autoRetryAfter is set, the failed upload request is repeated after the declared amount of time in miliseconds.

Example

<kendo:fileManager-upload-async autoRetryAfter="autoRetryAfter">
</kendo:fileManager-upload-async>

autoUpload boolean

By default, the selected files are uploaded immediately. To change this behavior, set autoUpload to false.

Example

<kendo:fileManager-upload-async autoUpload="autoUpload">
</kendo:fileManager-upload-async>

batch boolean

All selected files are uploaded in one request.

Example

<kendo:fileManager-upload-async batch="batch">
</kendo:fileManager-upload-async>

chunkSize float

When async.chunkSize is set, the selected files are uploaded chunk by chunk with the declared size.

Example

<kendo:fileManager-upload-async chunkSize="chunkSize">
</kendo:fileManager-upload-async>

concurrent boolean

By default, the selected files are uploaded one after the other. When async.concurrent is set to true, all selected files start to upload simultaneously.

Example

<kendo:fileManager-upload-async concurrent="concurrent">
</kendo:fileManager-upload-async>

maxAutoRetries float

Sets the maximum number of attempts that are performed if an upload fails.

Example

<kendo:fileManager-upload-async maxAutoRetries="maxAutoRetries">
</kendo:fileManager-upload-async>

saveField java.lang.String

The name of the form field which is submitted to saveUrl. The default value is the input name.

Example

<kendo:fileManager-upload-async saveField="saveField">
</kendo:fileManager-upload-async>

saveUrl java.lang.String

The URL of the handler that will receive the submitted files. The handler must accept POST requests which contain one or more fields with the same name as the original input name.

Example

<kendo:fileManager-upload-async saveUrl="saveUrl">
</kendo:fileManager-upload-async>

useArrayBuffer boolean

By default, the files are uploaded as file data. When set to true, the files are read as a file buffer by using FileReader.

Example

<kendo:fileManager-upload-async useArrayBuffer="useArrayBuffer">
</kendo:fileManager-upload-async>

withCredentials boolean

Controls whether to send credentials (cookies, headers) for cross-site requests.

Example

<kendo:fileManager-upload-async withCredentials="withCredentials">
</kendo:fileManager-upload-async>
In this article
Not finding the help you need?