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.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
#Declaration
public ReportingConfigurationBuilder ConfigureReportDesigner(
Action<ReportDesignerConfigurationBuilder> configure
)
#Parameters
Name | Type | Description |
---|---|---|
configure | Action<Report |
An Action |
#Returns
Type | Description |
---|---|
Reporting |
A Reporting |
#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();