Skip to main content
A newer version of this page is available. .

ReportViewerExtension.ExportTo(XtraReport, HttpRequestBase) Method

Exports a document displayed by the Report Viewer.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

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