Back to Devexpress

WebDocumentViewerBuilderBase<TSettings, TImpl, TModel>.Bind(XtraReport) Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-webdocumentviewer-dot-webdocumentviewerbuilderbase-3-dot-bind-x28-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-x29.md

latest2.3 KB
Original Source

WebDocumentViewerBuilderBase<TSettings, TImpl, TModel>.Bind(XtraReport) Method

Passes the specified report to the reporting component.

Namespace : DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly : DevExpress.AspNetCore.Reporting.v25.2.dll

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
public TImpl Bind(
    XtraReport report
)
vb
Public Function Bind(
    report As XtraReport
) As TImpl

Parameters

NameTypeDescription
reportXtraReport

A report to load to the reporting component.

|

Returns

TypeDescription
TImpl

A WebDocumentViewerBuilderBase<TSettings, TImpl, TModel> that can be used in method chaining to configure the component.

|

Remarks

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

Open a Report in ASP.NET Core Application

WebDocumentViewerBuilderBase<TSettings, TImpl, TModel> Class

WebDocumentViewerBuilderBase<TSettings, TImpl, TModel> Members

DevExpress.AspNetCore.Reporting.WebDocumentViewer Namespace