Defines the fluent API for configuring the FileManagerUploadSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FileManagerUploadSettingsBuilder
Inheritance: objectFileManagerUploadSettingsBuilder
Inherited Members
Constructors
Initialize the FileManagerUploadSettingsBuilder
public FileManagerUploadSettingsBuilder(FileManagerUploadSettings settings)
Methods
Configures the asynchronous upload of files.
public FileManagerUploadSettingsBuilder Async(Action<FileManagerUploadAsyncSettingsBuilder> configurator)
The action that configures the async.
Returns:Fires when the upload was cancelled while in progress. Upload Events.
public FileManagerUploadSettingsBuilder Cancel(string handler)
The value that configures the cancel action.
Returns:Fires when the files are cleared by clicking on the Clear button. Upload Events.
public FileManagerUploadSettingsBuilder Clear(string handler)
The value that configures the clear action.
Returns:Fires when all active uploads complete—either successfully or with errors. Upload Events.
public FileManagerUploadSettingsBuilder Complete(string handler)
The value that configures the complete action.
Returns:Enables the selection of folders instead of files.
public FileManagerUploadSettingsBuilder Directory(bool value)
The value that configures the directory.
Returns:Fires when an upload or remove operation fails. Upload Events.
public FileManagerUploadSettingsBuilder Error(string handler)
The value that configures the error action.
Returns:Sets the strings rendered by the Upload.
public FileManagerUploadSettingsBuilder Localization(Action<FileManagerUploadLocalizationSettingsBuilder> configurator)
The action that configures the localization.
Returns: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.
public FileManagerUploadSettingsBuilder Multiple(bool value)
The value that configures the multiple.
Returns:Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set. Upload Events.
public FileManagerUploadSettingsBuilder Pause(string handler)
The value that configures the pause action.
Returns:Fires when the data about the progress of the upload is available. Upload Events.
public FileManagerUploadSettingsBuilder Progress(string handler)
The value that configures the progress action.
Returns:Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented. Upload Events.
public FileManagerUploadSettingsBuilder Remove(string handler)
The value that configures the remove action.
Returns: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.
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.
public FileManagerUploadSettingsBuilder Resume(string handler)
The value that configures the resume action.
Returns:Fires when a file is selected. Upload Events.
public FileManagerUploadSettingsBuilder Select(string handler)
The value that configures the select action.
Returns: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.
public FileManagerUploadSettingsBuilder ShowFileList(bool value)
The value that configures the showfilelist.
Returns:Fires when an upload or remove operation is completed successfully. Upload Events.
public FileManagerUploadSettingsBuilder Success(string handler)
The value that configures the success action.
Returns:Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload. Upload Events.
public FileManagerUploadSettingsBuilder Upload(string handler)
The value that configures the upload action.
Returns:Configures the validation options for uploaded files.
public FileManagerUploadSettingsBuilder Validation(Action<FileManagerUploadValidationSettingsBuilder> configurator)
The action that configures the validation.
Returns: