Defines the fluent API for configuring the FileManagerUploadAsyncSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FileManagerUploadAsyncSettingsBuilder
Inheritance: objectFileManagerUploadAsyncSettingsBuilder
Inherited Members
Constructors
Initialize the FileManagerUploadAsyncSettingsBuilder
public FileManagerUploadAsyncSettingsBuilder(FileManagerUploadAsyncSettings settings)
Methods
If async.autoRetryAfter is set, the failed upload request is repeated after the declared amount of time in miliseconds.
public FileManagerUploadAsyncSettingsBuilder AutoRetryAfter(double value)
The value that configures the autoretryafter.
Returns:By default, the selected files are uploaded immediately. To change this behavior, set autoUpload to false.
public FileManagerUploadAsyncSettingsBuilder AutoUpload(bool value)
The value that configures the autoupload.
Returns:All selected files are uploaded in one request.
public FileManagerUploadAsyncSettingsBuilder Batch(bool value)
The value that configures the batch.
Returns:When async.chunkSize is set, the selected files are uploaded chunk by chunk with the declared size.
public FileManagerUploadAsyncSettingsBuilder ChunkSize(double value)
The value that configures the chunksize.
Returns: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.
public FileManagerUploadAsyncSettingsBuilder Concurrent(bool value)
The value that configures the concurrent.
Returns:Sets the maximum number of attempts that are performed if an upload fails.
public FileManagerUploadAsyncSettingsBuilder MaxAutoRetries(double value)
The value that configures the maxautoretries.
Returns:The name of the form field which is submitted to saveUrl. The default value is the input name.
public FileManagerUploadAsyncSettingsBuilder SaveField(string value)
The value that configures the savefield.
Returns: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.
public FileManagerUploadAsyncSettingsBuilder SaveUrl(string value)
The value that configures the saveurl.
Returns:By default, the files are uploaded as file data. When set to true, the files are read as a file buffer by using FileReader.
public FileManagerUploadAsyncSettingsBuilder UseArrayBuffer(bool value)
The value that configures the usearraybuffer.
Returns:Controls whether to send credentials (cookies, headers) for cross-site requests.
public FileManagerUploadAsyncSettingsBuilder WithCredentials(bool value)
The value that configures the withcredentials.
Returns: