New to Telerik UI for ASP.NET MVC? Download free 30-day trial

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


             @( 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())
                        )
            )

In this article
Not finding the help you need?