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

Defines the fluent API for configuring FileManagerUploadAsyncSettings

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

FileManagerUploadAsyncSettingsBuilder method.

C#
public FileManagerUploadAsyncSettingsBuilder(FileManagerUploadAsyncSettings container)
Parameters:containerFileManagerUploadAsyncSettings

Properties

Gets the settings being configured.

C#
protected FileManagerUploadAsyncSettings Container { get; }

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 for AutoRetryAfter

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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 for AutoUpload

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

All selected files are uploaded in one request.

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

The value for Batch

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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 for ChunkSize

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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 for Concurrent

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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

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

The value for MaxAutoRetries

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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 for SaveField

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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 for SaveUrl

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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 for UseArrayBuffer

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.

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

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

The value for WithCredentials

Returns:

FileManagerUploadAsyncSettingsBuilder

Returns the current FileManagerUploadAsyncSettingsBuilder instance.