ReportDesignerWizardSettings.EnableFederationDataSource Property
Gets or sets whether the Specify Data Source Settings (Data Federation) page is enabled in the Report Wizard and Data Source Wizard.
Namespace: DevExpress.XtraReports.Web.ReportDesigner
Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true, to enable the Select data source type (Data Federation) page; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to EnableFederationDataSource |
---|---|---|
Reporting | ASPxReportDesigner |
|
ASP.NET MVC Extensions | ReportDesignerSettings |
|
Remarks
The following code example hides the Data Federation item in the Select Data Source type wizard page:
public IActionResult ReportDesigner(
[FromServices] IReportDesignerModelBuilder reportDesignerModelBuilder,
[FromQuery] string reportName) {
reportName = string.IsNullOrEmpty(reportName) ? "TestReport" : reportName;
var designerModel = reportDesignerModelBuilder
.Report(reportName)
.WizardSettings(s => {
s.EnableFederationDataSource = false;
})
.BuildModel();
return View(designerModel);
}
See Also