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

Defines the fluent API for configuring the FileManagerUploadSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FileManagerUploadSettingsBuilder

Inheritance: objectFileManagerUploadSettingsBuilder

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

Constructors

C#
public FileManagerUploadSettingsBuilder(FileManagerUploadSettings settings)
Parameters:settingsFileManagerUploadSettings

The FileManagerUploadSettings

Methods

Configures the asynchronous upload of files.

C#
public FileManagerUploadSettingsBuilder Async(Action<FileManagerUploadAsyncSettingsBuilder> configurator)
Parameters:configuratorAction<FileManagerUploadAsyncSettingsBuilder>

The action that configures the async.

Returns:

FileManagerUploadSettingsBuilder

Fires when the upload was cancelled while in progress. Upload Events.

C#
public FileManagerUploadSettingsBuilder Cancel(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the cancel action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the upload was cancelled while in progress. Upload Events.

C#
public FileManagerUploadSettingsBuilder Cancel(string handler)
Parameters:handlerstring

The value that configures the cancel action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the files are cleared by clicking on the Clear button. Upload Events.

C#
public FileManagerUploadSettingsBuilder Clear(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the clear action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the files are cleared by clicking on the Clear button. Upload Events.

C#
public FileManagerUploadSettingsBuilder Clear(string handler)
Parameters:handlerstring

The value that configures the clear action.

Returns:

FileManagerUploadSettingsBuilder

Fires when all active uploads complete—either successfully or with errors. Upload Events.

C#
public FileManagerUploadSettingsBuilder Complete(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the complete action.

Returns:

FileManagerUploadSettingsBuilder

Fires when all active uploads complete—either successfully or with errors. Upload Events.

C#
public FileManagerUploadSettingsBuilder Complete(string handler)
Parameters:handlerstring

The value that configures the complete action.

Returns:

FileManagerUploadSettingsBuilder

Enables the selection of folders instead of files.

C#
public FileManagerUploadSettingsBuilder Directory(bool value)
Parameters:valuebool

The value that configures the directory.

Returns:

FileManagerUploadSettingsBuilder

Fires when an upload or remove operation fails. Upload Events.

C#
public FileManagerUploadSettingsBuilder Error(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the error action.

Returns:

FileManagerUploadSettingsBuilder

Fires when an upload or remove operation fails. Upload Events.

C#
public FileManagerUploadSettingsBuilder Error(string handler)
Parameters:handlerstring

The value that configures the error action.

Returns:

FileManagerUploadSettingsBuilder

Sets the strings rendered by the Upload.

C#
public FileManagerUploadSettingsBuilder Localization(Action<FileManagerUploadLocalizationSettingsBuilder> configurator)
Parameters:configuratorAction<FileManagerUploadLocalizationSettingsBuilder>

The action that configures the localization.

Returns:

FileManagerUploadSettingsBuilder

Enables (if set to true) or disables (if set to false) the selection of multiple files. If set to false, the user can select only one file at a time.

C#
public FileManagerUploadSettingsBuilder Multiple(bool value)
Parameters:valuebool

The value that configures the multiple.

Returns:

FileManagerUploadSettingsBuilder

Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set. Upload Events.

C#
public FileManagerUploadSettingsBuilder Pause(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the pause action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set. Upload Events.

C#
public FileManagerUploadSettingsBuilder Pause(string handler)
Parameters:handlerstring

The value that configures the pause action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the data about the progress of the upload is available. Upload Events.

C#
public FileManagerUploadSettingsBuilder Progress(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the progress action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the data about the progress of the upload is available. Upload Events.

C#
public FileManagerUploadSettingsBuilder Progress(string handler)
Parameters:handlerstring

The value that configures the progress action.

Returns:

FileManagerUploadSettingsBuilder

Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented. Upload Events.

C#
public FileManagerUploadSettingsBuilder Remove(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the remove action.

Returns:

FileManagerUploadSettingsBuilder

Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented. Upload Events.

C#
public FileManagerUploadSettingsBuilder Remove(string handler)
Parameters:handlerstring

The value that configures the remove action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the files are resumed through clicking the Resume button. The button is visible if chunksize is set and the file upload is paused. Upload Events.

C#
public FileManagerUploadSettingsBuilder Resume(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the resume action.

Returns:

FileManagerUploadSettingsBuilder

Fires when the files are resumed through clicking the Resume button. The button is visible if chunksize is set and the file upload is paused. Upload Events.

C#
public FileManagerUploadSettingsBuilder Resume(string handler)
Parameters:handlerstring

The value that configures the resume action.

Returns:

FileManagerUploadSettingsBuilder

Fires when a file is selected. Upload Events.

C#
public FileManagerUploadSettingsBuilder Select(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the select action.

Returns:

FileManagerUploadSettingsBuilder

Fires when a file is selected. Upload Events.

C#
public FileManagerUploadSettingsBuilder Select(string handler)
Parameters:handlerstring

The value that configures the select action.

Returns:

FileManagerUploadSettingsBuilder

Enables (if set to true) or disables (if set to false) the display of a file listing for the file upload. The disabling of a file listing might be useful if you want to customize the UI. To build your own UI, use the client-side events.

C#
public FileManagerUploadSettingsBuilder ShowFileList(bool value)
Parameters:valuebool

The value that configures the showfilelist.

Returns:

FileManagerUploadSettingsBuilder

Fires when an upload or remove operation is completed successfully. Upload Events.

C#
public FileManagerUploadSettingsBuilder Success(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the success action.

Returns:

FileManagerUploadSettingsBuilder

Fires when an upload or remove operation is completed successfully. Upload Events.

C#
public FileManagerUploadSettingsBuilder Success(string handler)
Parameters:handlerstring

The value that configures the success action.

Returns:

FileManagerUploadSettingsBuilder

Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload. Upload Events.

C#
public FileManagerUploadSettingsBuilder Upload(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the upload action.

Returns:

FileManagerUploadSettingsBuilder

Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload. Upload Events.

C#
public FileManagerUploadSettingsBuilder Upload(string handler)
Parameters:handlerstring

The value that configures the upload action.

Returns:

FileManagerUploadSettingsBuilder

Configures the validation options for uploaded files.

C#
public FileManagerUploadSettingsBuilder Validation(Action<FileManagerUploadValidationSettingsBuilder> configurator)
Parameters:configuratorAction<FileManagerUploadValidationSettingsBuilder>

The action that configures the validation.

Returns:

FileManagerUploadSettingsBuilder