ReportingConfigurationBuilder.ConfigureReportDesigner(Action<ReportDesignerConfigurationBuilder>) Method
Provides access to the ReportDesignerConfigurationBuilder object that exposes methods for registering custom or predefined services extending the Web Report Designer functionality.
Namespace: DevExpress.AspNetCore.Reporting
Assembly: DevExpress.AspNetCore.Reporting.v26.1.dll
Declaration
public ReportingConfigurationBuilder ConfigureReportDesigner(
Action<ReportDesignerConfigurationBuilder> configure
)
Parameters
| Name | Type | Description |
|---|---|---|
| configure | Action<ReportDesignerConfigurationBuilder> | An Action<T> delegate method that allows you to configure Web Report Designer custom services using the methods of the ReportDesignerConfigurationBuilder object, which is passed as the delegate parameter. |
Returns
| Type | Description |
|---|---|
| ReportingConfigurationBuilder | A ReportingConfigurationBuilder that can be used to further configure the reporting services. |
Remarks
The code below registers a custom IDataSourceWizardConnectionStringsProvider service for the Web Report Designer at the application startup.
using DevExpress.AspNetCore;
using DevExpress.AspNetCore.Reporting;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddDevExpressControls();
builder.Services.AddMvc();
builder.Services.ConfigureReportingServices(configurator => {
configurator.ConfigureReportDesigner(designerConfigurator => {
designerConfigurator.RegisterDataSourceWizardConnectionStringsProvider<customProvider>();
});
});
var app = builder.Build();
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ConfigureReportDesigner(Action<ReportDesignerConfigurationBuilder>) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.