Kendo.Mvc.UI.Fluent.EditorExportAsSettingsBuilder
Defines the fluent API for configuring the FileBrowser.
Methods
FileName(System.String)
Sets the name of the file in which the content will be exported.
Parameters
fileName System.String
The name of the exported file.
Proxy(System.String,System.String)
Sets the action and controller for the export operation
Parameters
actionName System.String
Name of the action.
controllerName System.String
Name of the controller.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.exportAs(exportAs => exportAs
.Proxy("EditorExport", "Home");
)
%>
Proxy(System.String)
Sets the route name for the export operation
Parameters
routeName System.String
Name of the route.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.ExportAs(exportAs => exportAs
.Proxy("Default");
)
%>
Proxy(System.Linq.Expressions.Expression<System.Action<T1>>)
Sets the action for the export operation
Parameters
controllerAction System.Linq.Expressions.Expression<System.Action<T1>>
The action.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.ExportAs(exportAs => exportAs
.Proxy<HomeController>(controller => controller.Export())
)
%>