WebDocumentViewerBuilder.Bind(XtraReport) Method

Passes the specified report to the Web Document Viewer.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v21.1.dll

Declaration

public WebDocumentViewerBuilder Bind(
    XtraReport report
)

Parameters

Name Type Description
report XtraReport

The report to be bound to the Document Viewer.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder object for use in method chaining.

Remarks

Each call to this method creates a new report instance and passes it to the Web Document Viewer.

In most situations you may use the WebDocumentViewerBuilder.Bind(String) method instead. It enables you to implement a report cache and a custom name resolver to optimize the workload and memory usage.

See Also