Skip to main content
All docs
V25.2
  • 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.v25.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
    ASP.NET MVC Extensions ReportDesignerSettings
    .SettingsDataSource .AllowRemoveDataSource
    .NET Reporting Tools ASPxReportDesigner
    .SettingsDataSource .AllowRemoveDataSource

    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 AllowRemoveDataSource property is set to true (default value):

    Web Report Designer -  Remove Data Source Button

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

    Web Report Designer -  Remove Data Source Button Hidden

    The following element is hidden:

    Element Description
    Web Report Designer -  Remove Data Source Action Removes the selected data source.
    See Also