Skip to main content
All docs
V23.2

ReportDesignerClientSideModelGenerator.GetModelAsync(String, IDictionary<String, Object>, String, String, String) Method

Asynchronously generates a client-side model of the Web End-User Report Designer based on specified data.

Namespace: DevExpress.XtraReports.Web.ReportDesigner

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public Task<ReportDesignerModel> GetModelAsync(
    string reportUrl,
    IDictionary<string, object> dataSources,
    string controllerUri,
    string previewControllerUri,
    string queryBuilderControllerUri
)

Parameters

Name Type Description
reportUrl String

A URL of the report that the Report Designer opens.

dataSources IDictionary<String, Object>

A dictionary of data sources available in the Report Designer.

controllerUri String

The URI of the controller action that processes Report Designer requests.

previewControllerUri String

The URI of the controller action that processes Report Designer preview requests.

queryBuilderControllerUri String

The URI of the controller action that processes Query Builder requests.

Returns

Type Description
Task<ReportDesignerModel>

A task that returns the client-side Report Designer model.

Remarks

Use the GetModelAsync method to obtain a Report Designer model if your application operates in asynchronous mode (the DefaultReportDesignerContainer.UseAsyncEngine() method is called at the application startup).

See Also