DefaultReportDesignerContainer.RegisterDataSourceWizardConfigFileJsonConnectionStringsProvider() Method
Allows the Web Report Designer to use the JSON data source connections specified in the web application configuration file.
Namespace: DevExpress.XtraReports.Web.ReportDesigner
Assembly: DevExpress.XtraReports.v25.2.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
Remarks
The Data Source Wizard uses a connection strings provider to obtain available data connections. The following code sample shows how to register the connection strings provider on application startup:
using DevExpress.XtraReports.Web.ReportDesigner;
// ...
public class Global : System.Web.HttpApplication
{
void Application_Start(object sender, EventArgs e)
{
// ...
DefaultReportDesignerContainer.RegisterDataSourceWizardConfigFileJsonConnectionStringsProvider();
// ...
}
// ...
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterDataSourceWizardConfigFileJsonConnectionStringsProvider() 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.