Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportDesignerDataSourceSettings.AllowRemoveDataSource Property

Hides the UI element that allows a user to remove the data source from the Web End-User Report Designer in the Field List.

Namespace: DevExpress.XtraReports.Web.ReportDesigner

Assembly: DevExpress.XtraReports.v24.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

#Declaration

[DefaultValue(true)]
public bool AllowRemoveDataSource { get; set; }

#Property Value

Type Default Description
Boolean true

true to show the UI element that allows a user to remove the data source from the Web End-User Report Designer in the Field List; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowRemoveDataSource
.NET Reporting Tools ASPxReportDesigner
.SettingsDataSource .AllowRemoveDataSource
ASP.NET MVC Extensions ReportDesignerSettings
.SettingsDataSource .AllowRemoveDataSource

#Remarks

The following image shows the Field List in the Web End-User Report Designer when the AllowEditDataSource property is set to true (default value):

ReportDesignerDataSourceSettings Default Values

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

ReportDesignerDataSourceSettings.AllowRemoveDataSource

The following element is hidden:

Element Description
web-designer-field-list-data-source-delete Removes the selected data source.
See Also