Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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