Skip to main content

DocumentViewerExtension.ExportTo(XtraReport, HttpContextBase) Method

Exports a document displayed by the Report Viewer.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static FileResult ExportTo(
    XtraReport report,
    HttpContextBase httpContext
)

Parameters

Name Type Description
report XtraReport

An XtraReport that is being exported.

httpContext HttpContextBase

A System.Web.httpContext containing report export settings obtained from a HTTP request.

Returns

Type Description
FileResult

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

See Also