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 |
---|---|---|
report |
String | A URL of the report that the Report Designer opens. |
data |
IDictionary<String, Object> | A dictionary of data sources available in the Report Designer. |
controller |
String | The URI of the controller action that processes Report Designer requests. |
preview |
String | The URI of the controller action that processes Report Designer preview requests. |
query |
String | The URI of the controller action that processes Query Builder requests. |
#Returns
Type | Description |
---|---|
Task<Report |
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).