EditorExportAsSettingsBuilder
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.
Example
@( Html.Kendo().Editor()
.Name("Editor")
.ExportAs(exportAs => exportAs.FileName("exportedFileName"))
)
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
@( 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
@( Html.Kendo().Editor()
.Name("Editor")
.ExportAs(exportAs => exportAs
.Proxy("Default");
)
)
Proxy(System.Linq.Expressions.Expression)
Sets the action for the export operation
Parameters
controllerAction - System.Linq.Expressions.Expression<Action>
The action.
Example
@( Html.Kendo().Editor()
.Name("Editor")
.ExportAs(exportAs => exportAs
.Proxy<HomeController>(controller => controller.Export())
)
)