Skip to main content

DocumentViewerExtension.ExportTo(XtraReport, HttpRequestBase, Action<DeserializeClientParameterEventArgs>) Method

Exports a document displayed by the Document Viewer.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static FileResult ExportTo(
    XtraReport report,
    HttpRequestBase request,
    Action<DeserializeClientParameterEventArgs> deserializeClientParameter
)

Parameters

Name Type Description
report XtraReport

An XtraReport that is being exported.

request HttpRequestBase

An HTTP request containing report export settings.

deserializeClientParameter Action<DeserializeClientParameterEventArgs>

A Action that will be used to deserialize values assigned to report parameters on the client.

Returns

Type Description
FileResult

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

See Also