Skip to main content
All docs
V26.1
  • 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.v26.1.Web.dll

    NuGet Package: DevExpress.Web.Reporting.Common

    Declaration

    public static void RegisterDataSourceWizardConfigFileJsonConnectionStringsProvider()

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

    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.

    See Also