# FileManagerUploadSettingsBuilder

## Methods

### Cancel(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Cancel(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Clear(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Clear(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Complete(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Complete(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Error(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Error(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Pause(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Pause(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Progress(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Progress(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Resume(System.String)

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.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Resume(System.Func)

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.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Remove(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Remove(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Select(System.String)

Fires when a file is selected. Upload Events.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Select(System.Func)

Fires when a file is selected. Upload Events.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Success(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Success(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Upload(System.String)

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

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Upload(System.Func)

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

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Async(System.Action)

Configures the asynchronous upload of files.

#### Parameters

##### configurator - System.Action<[FileManagerUploadAsyncSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadasyncsettingsbuilder)>

The configurator for the async setting.

#### RETURNS

Returns the current instance of [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) .

### Directory(System.Boolean)

Enables the selection of folders instead of files.

#### Parameters

##### value - `System.Boolean`

The value for Directory

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Localization(System.Action)

Sets the strings rendered by the Upload.

#### Parameters

##### configurator - System.Action<[FileManagerUploadLocalizationSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadlocalizationsettingsbuilder)>

The configurator for the localization setting.

#### RETURNS

Returns the current instance of [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) .

### Multiple(System.Boolean)

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.

#### Parameters

##### value - `System.Boolean`

The value for Multiple

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### ShowFileList(System.Boolean)

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.

#### Parameters

##### value - `System.Boolean`

The value for ShowFileList

#### RETURNS

Returns the current [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) instance.

### Validation(System.Action)

Configures the validation options for uploaded files.

#### Parameters

##### configurator - System.Action<[FileManagerUploadValidationSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadvalidationsettingsbuilder)>

The configurator for the validation setting.

#### RETURNS

Returns the current instance of [FileManagerUploadSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filemanageruploadsettingsbuilder) .
