Back to Devexpress

ReportDesignerDataSourceSettings.AllowAddDataSource Property

xtrareports-devexpress-dot-xtrareports-dot-web-dot-reportdesigner-dot-reportdesignerdatasourcesettings.md

latest3.0 KB
Original Source

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

csharp
[DefaultValue(true)]
public bool AllowAddDataSource { get; set; }
vb
<DefaultValue(True)>
Public Property AllowAddDataSource As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to show the Add Data Source button; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to AllowAddDataSource
ASP.NET MVC ExtensionsReportDesignerSettings

.SettingsDataSource .AllowAddDataSource

| | .NET Reporting Tools | ASPxReportDesigner |

.SettingsDataSource .AllowAddDataSource

|

Remarks

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:

See Also

ReportDesignerDataSourceSettings Class

ReportDesignerDataSourceSettings Members

DevExpress.XtraReports.Web.ReportDesigner Namespace