New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the FileManagerUploadAsyncSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FileManagerUploadAsyncSettingsBuilder

Inheritance: objectFileManagerUploadAsyncSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public FileManagerUploadAsyncSettingsBuilder(FileManagerUploadAsyncSettings settings)
Parameters:settingsFileManagerUploadAsyncSettings

The FileManagerUploadAsyncSettings

Methods

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

C#
public FileManagerUploadAsyncSettingsBuilder AutoRetryAfter(double value)
Parameters:valuedouble

The value that configures the autoretryafter.

Returns:

FileManagerUploadAsyncSettingsBuilder

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

C#
public FileManagerUploadAsyncSettingsBuilder AutoUpload(bool value)
Parameters:valuebool

The value that configures the autoupload.

Returns:

FileManagerUploadAsyncSettingsBuilder

All selected files are uploaded in one request.

C#
public FileManagerUploadAsyncSettingsBuilder Batch(bool value)
Parameters:valuebool

The value that configures the batch.

Returns:

FileManagerUploadAsyncSettingsBuilder

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

C#
public FileManagerUploadAsyncSettingsBuilder ChunkSize(double value)
Parameters:valuedouble

The value that configures the chunksize.

Returns:

FileManagerUploadAsyncSettingsBuilder

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.

C#
public FileManagerUploadAsyncSettingsBuilder Concurrent(bool value)
Parameters:valuebool

The value that configures the concurrent.

Returns:

FileManagerUploadAsyncSettingsBuilder

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

C#
public FileManagerUploadAsyncSettingsBuilder MaxAutoRetries(double value)
Parameters:valuedouble

The value that configures the maxautoretries.

Returns:

FileManagerUploadAsyncSettingsBuilder

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

C#
public FileManagerUploadAsyncSettingsBuilder SaveField(string value)
Parameters:valuestring

The value that configures the savefield.

Returns:

FileManagerUploadAsyncSettingsBuilder

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.

C#
public FileManagerUploadAsyncSettingsBuilder SaveUrl(string value)
Parameters:valuestring

The value that configures the saveurl.

Returns:

FileManagerUploadAsyncSettingsBuilder

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

C#
public FileManagerUploadAsyncSettingsBuilder UseArrayBuffer(bool value)
Parameters:valuebool

The value that configures the usearraybuffer.

Returns:

FileManagerUploadAsyncSettingsBuilder

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

C#
public FileManagerUploadAsyncSettingsBuilder WithCredentials(bool value)
Parameters:valuebool

The value that configures the withcredentials.

Returns:

FileManagerUploadAsyncSettingsBuilder