Skip to main content

ReportViewerExtension.ExportTo(XtraReport, HttpContextBase) Method

Exports a document displayed by the ReportViewerExtension.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static FileResult ExportTo(
    XtraReport report,
    HttpContextBase httpContext
)

Parameters

Name Type Description
report XtraReport

An XtraReport object.

httpContext HttpContextBase

An HttpContextBase object that encapsulates all HTTP-specific information about an individual HTTP request.

Returns

Type Description
FileResult

A FileResult object.

See Also