# EditorFileBrowserSettingsBuilder

## Methods

### Create(System.String,System.String)

Sets the Action and Controller that will handle the directory creation.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Create("CreateDirectory","Home")
                        )
            )
             
```

### Create(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the Action, Controller, and routeValues for directory create operation.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `Microsoft.AspNetCore.Routing.RouteValueDictionary`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Create("CreateDirectory","Home", new RouteValueDictionary { { "paramName[0]", "paramValue" } })
                        )
            )
             
```

### Create(System.String,System.String,System.Object)

Sets the Action, Controller, and routeValues for directory create operation.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `System.Object`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Create("CreateDirectory","Home", new { id = ViewData["id"] })
                        )
            )
             
```

### Create(System.Action)

Configures the URL for directory create operation.

#### Parameters

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

The action which configures the Create Action.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Create(create => create.Action("CreateDirectory","Home"))
                        )
            )
             
```

### Destroy(System.String,System.String)

Sets the Action and Controller that will handle the file or directory deletion.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Destroy("Delete","Home")
                        )
            )
             
```

### Destroy(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the Action, Controller, and routeValues for file or directory destroy operation.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `Microsoft.AspNetCore.Routing.RouteValueDictionary`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Destroy("Destroy","Home", new RouteValueDictionary { { "paramName[0]", "paramValue" } })
                        )
            )
             
```

### Destroy(System.String,System.String,System.Object)

Sets the Action, Controller, and routeValues for file or directory destroy operation.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `System.Object`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Destroy("Destroy","Home", new { id = ViewData["id"] })
                        )
            )
             
```

### Destroy(System.Action)

Configures the URL for the file or directory destroy operation.

#### Parameters

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

The action which configures the Destroy Action.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Destroy(destroy => destroy.Action("Delete","Home"))
                        )
            )
             
```

### File(System.String,System.String)

Sets the Action and Controller responsible for serving the original file.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .File("File","Home")
                        )
            )
             
```

### File(System.String)

Sets the URL responsible for serving the original file. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.

#### Parameters

##### url - `System.String`

The string URL.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .File("~/shared/UserFiles/Images/{0}")
                        )
            )
             
```

### File(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the Action, Controller, and routeValues responsible for serving the original file.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `Microsoft.AspNetCore.Routing.RouteValueDictionary`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .File("File","Home", new RouteValueDictionary { { "paramName[0]", "paramValue" } })
                        )
            )
             
```

### File(System.String,System.String,System.Object)

Sets the Action, Controller, and routeValues responsible for serving the original file.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `System.Object`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .File("File","Home", new { id = ViewData["id"] })
                        )
            )
             
```

### File(System.Action)

Configures the URL for serving the original file.

#### Parameters

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

The action which configures the File Action.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .File(file => file.Action("File","Home"))
                        )
            )
             
```

### Read(System.String,System.String)

Sets the Action and Controller for remote file retrieval.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Read("ReadFiles","Home")
                        )
            )
             
```

### Read(System.String,System.String,System.Object)

Sets the Action, Controller, and routeValues for remote file retrieval.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `System.Object`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Read("ReadFiles","Home", new { id = ViewData["id"] })
                        )
            )
             
```

### Read(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the Action, Controller, and routeValues for remote file retrieval.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `Microsoft.AspNetCore.Routing.RouteValueDictionary`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Read("ReadFiles","Home", new RouteValueDictionary { { "paramName[0]", "paramValue" } })
                        )
            )
             
```

### Read(System.Action)

Configures the URL for remote file read operation.

#### Parameters

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

The action which configures the Read Action.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Read(read => read.Action("ReadFiles","Home"))
                        )
            )
             
```

### Upload(System.String,System.String)

Sets the Action and Controller that will handle the new files upload.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Upload("UploadFiles","Home")
                        )
            )
             
```

### Upload(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the Action, Controller, and routeValues for uploading new files.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `Microsoft.AspNetCore.Routing.RouteValueDictionary`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Upload("UploadFiles","Home", new RouteValueDictionary { { "paramName[0]", "paramValue" } })
                        )
            )
             
```

### Upload(System.String,System.String,System.Object)

Sets the Action, Controller, and routeValues for uploading new files.

#### Parameters

##### actionName - `System.String`

Name of the Action.

##### controllerName - `System.String`

Name of the Controller.

##### routeValues - `System.Object`

Route values.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Upload("UploadFiles","Home", new { id = ViewData["id"] })
                        )
            )
             
```

### Upload(System.Action)

Configures the URL for files uplaod operation.

#### Parameters

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

The action which configures the Upload Action.

#### RETURNS

The current [EditorFileBrowserSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editorfilebrowsersettingsbuilder) instance to support method chaining.

#### Example

```
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .Upload(upload => upload.Action("UploadFiles","Home"))
                        )
            )
             
```

### FileTypes(System.String)

Defines the allowed file extensions.

#### Parameters

##### value - `System.String`

The value for FileTypes

#### RETURNS

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

#### Example

```
 
            @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(fileBrowser => fileBrowser
                            .FileTypes("*.zip")
                        )
            )
             
```

### Path(System.String)

Defines the initial folder to display, relative to the root.

#### Parameters

##### value - `System.String`

The value for Path

#### RETURNS

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

### Transport(System.Action)

Specifies the settings for loading and saving data.

#### Parameters

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

The configurator for the transport setting.

#### RETURNS

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

### Schema(System.Action)

Set the object responsible for describing the file raw data format.

#### Parameters

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

The configurator for the schema setting.

#### RETURNS

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

### Messages(System.Action)

Defines texts shown within the file browser.

#### Parameters

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

The configurator for the messages setting.

#### RETURNS

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