Skip to main content

WizardSettings.EnableJsonDataSource Property

Allows you to hide the JSON data source option and related pages in the Data Source Wizard.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.DataContracts

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

[DataMember(Name = "enableJsonDataSource")]
public bool EnableJsonDataSource { get; set; }

Property Value

Type Description
Boolean

true to enable the JSON data source option; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableJsonDataSource
ReportDesignerSettingsBase
.WizardSettings .EnableJsonDataSource

Remarks

The following image shows how the EnableJsonDataSource option affects the Select data source type wizard page:

EnableJsonDataSource

The following code disables the EnableJsonDataSource option:

var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
            .Height("100%")
            .WizardSettings(s => s.EnableJsonDataSource = false)
            .Bind("TestReport");
@designerRender.RenderHtml()
See Also