Skip to main content

DocumentViewerExtension.ExportToAsync(DocumentViewerRemoteSourceConfiguration, Action<DeserializeClientParameterEventArgs>, HttpRequestBase) Method

Asynchronously exports a document displayed by the Document Viewer.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static Task<FileResult> ExportToAsync(
    DocumentViewerRemoteSourceConfiguration configuration,
    Action<DeserializeClientParameterEventArgs> deserializeClientParameter,
    HttpRequestBase request
)

Parameters

Name Type Description
configuration DocumentViewerRemoteSourceConfiguration

An DocumentViewerRemoteSourceConfiguration object providing configuration settings to a remote document source of the Document Viewer.

deserializeClientParameter Action<DeserializeClientParameterEventArgs>

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

request HttpRequestBase

An HTTP request containing report export settings.

Returns

Type Description
Task<FileResult>

A Task, specifying an asynchronous operation.

See Also