ReportDesignerDataSourceSettings.AllowAddDataSource Property
Hides the Add Data Source button in the Field List and the Add Data Source menu command.
Namespace: DevExpress.XtraReports.Web.ReportDesigner
Assembly: DevExpress.XtraReports.v25.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Property Paths
You can access this nested property as listed below:
| Library | Object Type | Path to AllowAddDataSource |
|---|---|---|
| ASP.NET MVC Extensions | ReportDesignerSettings |
|
| .NET Reporting Tools | ASPxReportDesigner |
|
Remarks
Important
This setting affects only the Report Designer UI and does not restrict access to data or operations. Implement authorization and validation on the server.
The following image shows the Field List in the Web End-User Report Designer when the AllowAddDataSource property is set to true (default value):

The following image shows the Field List in the Web End-User Report Designer when the AllowAddDataSource property is set to false:

The following element is hidden: