Skip to main content

ReportViewerExtension.ExportTo(XtraReport, HttpRequestBase) Method

Exports a document displayed by the Report Viewer.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static FileResult ExportTo(
    XtraReport report,
    HttpRequestBase request
)

Parameters

Name Type Description
report XtraReport

An XtraReport to be exported.

request HttpRequestBase

An HTTP request containing report export settings.

Returns

Type Description
FileResult

A FileResult used to send the exported file content in response to the HTTP request.

See Also