Skip to main content

WizardSettings.EnableSqlDataSource Property

Allows you to hide the Database option and related pages in the Data Source Wizard.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.DataContracts

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

[DataMember(Name = "enableSqlDataSource")]
public bool EnableSqlDataSource { get; set; }

Property Value

Type Description
Boolean

true to enable the Database option; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableSqlDataSource
ReportDesignerSettingsBase
.WizardSettings .EnableSqlDataSource

Remarks

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

EnableSqlDataSource

The following code disables the EnableSqlDataSource option:

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