Skip to main content
All docs
V25.2
  • DxReportDesignerDataSourceSettings.AllowAddDataSource Property

    Hides the Add Data Source button in the Field List.

    Namespace: DevExpress.Blazor.Reporting

    Assembly: DevExpress.Blazor.Reporting.v25.2.JSBasedControls.Common.dll

    NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common

    Declaration

    [Parameter]
    public bool AllowAddDataSource { get; set; }

    Property Value

    Type Description
    Boolean

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

    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 Report Designer when the AllowAddDataSource property is set to true (default value):

    Web Report Designer -  The Add Data Source Button

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

    Web Report Designer -  The Add Data Source Button Hidden

    The following element is hidden:

    web-designer-field-list-add-data-source-button

    See Also