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
Property Value
Type | Description |
---|---|
Boolean |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableSqlDataSource |
---|---|
ReportDesignerSettingsBase |
|
Remarks
The following image shows how the EnableSqlDataSource
option affects the Select data source type wizard page:
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