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.v20.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();
// ...
}
// ...
}
See Also