Defines the fluent interface for configuring the EditorImageBrowserOperation options.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorImageBrowserOperationBuilder
Inheritance: objectEditorImageBrowserOperationBuilder
Inherited Members
Constructors
Initializes a new instance of the EditorImageBrowserOperationBuilder class.
public EditorImageBrowserOperationBuilder(EditorImageBrowserOperation operation, ViewContext viewContext, IUrlGenerator urlGenerator)
The image browser operation
viewContextViewContextThe view context
urlGeneratorIUrlGeneratorAn url generator instance
Methods
Sets the action, contoller and route values for the operation.
public EditorImageBrowserOperationBuilder Action(string actionName, string controllerName, RouteValueDictionary routeValues)
Action name
controllerNamestringController name
routeValuesRouteValueDictionaryRoute values
Returns:Sets a JavaScript function which will return additional parameters to be sent to the server.
public EditorImageBrowserOperationBuilder Data(string handler)
JavaScript function name
Returns:Sets the route values for the operation.
public EditorImageBrowserOperationBuilder Route(RouteValueDictionary routeValues)
Route values
Returns:Sets the route name and values for the operation.
public EditorImageBrowserOperationBuilder Route(string routeName, RouteValueDictionary routeValues)
Route name
routeValuesRouteValueDictionaryRoute values
Returns:Sets the route name for the operation.
public EditorImageBrowserOperationBuilder Route(string routeName)
Specifies an absolute or relative URL for the operation.
public EditorImageBrowserOperationBuilder Url(string url)
Absolute or relative URL for the operation
Returns:JavaScript function or the name of a function that returns the URL for the image.
public EditorImageBrowserOperationBuilder UrlHandler(string handler)
JavaScript function
Returns: