You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Web Reporting (ASP.NET MVC, ASP.NET Core and Angular) - How to Customize the DevExpress Report Wizard Customization and Hide Data Source Actions within our Report Designer
7
2
8
3
For more information on the capabilities outlined in this example (or if you are new to DevExpress Reports), please review the following blog post for important background information: [DevExpress Web Report Designer — Custom Report Templates within the Report Wizard, Data Source UI Enhancements (v22.2)](https://community.devexpress.com/blogs/reporting/archive/2023/03/02/devexpress-web-report-designer-enhancements-in-v22-2.aspx)
@@ -14,23 +9,21 @@ To customize the DevExpress Report Wizard and add new wizard report templates (t
14
9
- Implement a descendant of the [ReportWizardCustomizationService](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.Services.ReportWizardCustomizationService) class and register it as a service.
15
10
- Handle the Report Designer `CustomizeWizard` event to register a custom wizard page. (the `reportWizardCustomization.js` file contains JavaScript code required for registration).
16
11
12
+
By customizing our wizard’s default template set, you can address a variety of usage scenarios. To see what’s possible, execute the app, invoke the **Report Wizard**, and select a custom template included with this demo (`Instant Report` and `Custom Label Report`).
13
+
14
+

15
+
17
16
To hide data source action from our Report Designer’s Field List panel, you must:
18
17
19
-
- Use the following class:[ReportDesignerDataSourceSettings](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.ReportDesignerDataSourceSettings).
18
+
- Use the following class:[ReportDesignerDataSourceSettings](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.ReportDesignerDataSourceSettings).
20
19
21
20
> **Note**
22
21
> To help illustrate available options, the Report Designer was configured to hide data source actions. As such, users cannot add, modify, or delete the data source used for this report.
23
22
24
-
By customizing our wizard’s default template set, you can address a variety of usage scenarios. To see what’s possible, execute the app, invoke the **Report Wizard**, and select a custom template included with this demo (`Instant Report` and `Custom Label Report`).
25
-
26
-

23
+

27
24
28
25
Once you generate a wizard-based report, switch to the **Field List** panel. Notice that data source actions have been hidden (via [ReportDesignerDataSourceSettings](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.ReportDesigner.ReportDesignerDataSourceSettings)).
29
26
30
-
In the Report Designer, switch to the **Field List** panel to make sure that data source actions are hidden:
31
-
32
-

0 commit comments