EditorFileBrowserOperationBuilder
Methods
Route(System.Web.Routing.RouteValueDictionary)
Sets the route values for the file browser operation.
Parameters
routeValues - System.Web.Routing.RouteValueDictionary
Route values
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home").Route(new RouteValueDictionary { { "id", ViewData["id"] } }))
)
)
Action(System.String,System.String,System.Object)
Sets the action, contoller and route values for the file browser operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller name
routeValues - System.Object
Route values
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home", new { id = ViewData["id"] }))
)
)
Action(System.String,System.String,System.Web.Routing.RouteValueDictionary)
Sets the action, contoller and route values for the file browser operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller name
routeValues - System.Web.Routing.RouteValueDictionary
Route values
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home", new RouteValueDictionary { { "id", ViewData["id"] } }))
)
)
Action(System.String,System.String)
Sets the action and contoller values for the file browser operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller name
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home"))
)
)
Route(System.String,System.Web.Routing.RouteValueDictionary)
Sets the route name and values for the file browser operation.
Parameters
routeName - System.String
Route name
routeValues - System.Web.Routing.RouteValueDictionary
Route values
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home").Route("Default", new RouteValueDictionary { { "id", ViewData["id"] } }))
)
)
Route(System.String,System.Object)
Sets the route name and values for the file browser operation.
Parameters
routeName - System.String
Route name
routeValues - System.Object
Route values
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home").Route("Default", new { id = ViewData["id"] }))
)
)
Route(System.String)
Sets the route name for the file browser operation.
Parameters
routeName - System.String
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Action("ReadFiles","Home").Route("Default"))
)
)
Url(System.String)
Specifies an absolute or relative URL for the file browser operation.
Parameters
url - System.String
Absolute or relative URL for the operation
Example
@( Html.Kendo().Editor()
.Name("Editor")
.FileBrowser(fileBrowser => fileBrowser
.Read(read => read.Url("/Home/ReadFiles"))
)
)