Defines the fluent API for configuring the FileManagerUploadSettings settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class FileManagerUploadSettings : JsonObject
Inheritance: objectJsonObjectFileManagerUploadSettings
Inherited Members
Constructors
Initialization for the FileManagerUploadSettings
public FileManagerUploadSettings()
Properties
Configures the asynchronous upload of files. For more details, refer to the article on the async mode of the Upload.
public FileManagerUploadAsyncSettings Async { get; set; }
Fires when the upload was cancelled while in progress. Upload Events.
public ClientHandlerDescriptor Cancel { get; set; }
Fires when the files are cleared by clicking on the Clear button. Upload Events.
public ClientHandlerDescriptor Clear { get; set; }
Fires when all active uploads complete—either successfully or with errors. Upload Events.
public ClientHandlerDescriptor Complete { get; set; }
Enables the selection of folders instead of files.
public bool? Directory { get; set; }
Fires when an upload or remove operation fails. Upload Events.
public ClientHandlerDescriptor Error { get; set; }
Sets the strings rendered by the Upload.
public FileManagerUploadLocalizationSettings Localization { get; set; }
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 bool? Multiple { get; set; }
Fires when the files are cleared by clicking the Pause button. The button is visible if chunksize is set. Upload Events.
public ClientHandlerDescriptor Pause { get; set; }
Fires when the data about the progress of the upload is available. Upload Events.
public ClientHandlerDescriptor Progress { get; set; }
Fires when an uploaded file is about to be removed. If the event is canceled, the remove operation is prevented. Upload Events.
public ClientHandlerDescriptor Remove { get; set; }
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 ClientHandlerDescriptor Resume { get; set; }
Fires when a file is selected. Upload Events.
public ClientHandlerDescriptor Select { get; set; }
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 bool? ShowFileList { get; set; }
Fires when an upload or remove operation is completed successfully. Upload Events.
public ClientHandlerDescriptor Success { get; set; }
Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload. Upload Events.
public ClientHandlerDescriptor Upload { get; set; }
Configures the validation options for uploaded files.
public FileManagerUploadValidationSettings Validation { get; set; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: