EditorFileBrowserOperationBuilder

Methods

Action(System.String,System.String)

Sets the action and contoller values for the operation.

Parameters

actionName - System.String

Action name

controllerName - System.String

Controller name

Action(System.String,System.String,System.Object)

Sets the action, contoller and route values for the operation.

Parameters

actionName - System.String

Action name

controllerName - System.String

Controller name

routeValues - System.Object

Route values

Action(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the action, contoller and route values for the operation.

Parameters

actionName - System.String

Action name

controllerName - System.String

Controller name

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

Route values

Route(System.String)

Sets the route name for the operation.

Parameters

routeName - System.String

Route(Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the route values for the operation.

Parameters

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

Route values

Route(System.String,System.Object)

Sets the route name and values for the operation.

Parameters

routeName - System.String

Route name

routeValues - System.Object

Route values

Route(System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the route name and values for the operation.

Parameters

routeName - System.String

Route name

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

Route values

Url(System.String)

Specifies an absolute or relative URL for the operation.

Parameters

url - System.String

Absolute or relative URL for the operation

UrlHandler(System.String)

Sets a JavaScript function or the name of a function that returns the URL for the image.

Parameters

handler - System.String

The JavaScript function name

Example

Razor
 
             @( Html.Kendo().Editor()
                        .Name("Editor")
                        .FileBrowser(imageBrowser => imageBrowser
                            .File(file => file.UrlHandler("getFileUrl"))
                            .Read("Read", "FileBrowser")          
                        )
             )
             

Data(System.String)

Sets a JavaScript function which will return additional parameters to be sent to the server.

Parameters

handler - System.String

JavaScript function name