|
5 | 5 | <!-- default badges end --> |
6 | 6 | # Reporting for ASP.NET Core - Standalone Report Parameters Panel |
7 | 7 |
|
8 | | -This example shows how to use the standalone report options panel in an ASP.NET Core application. |
| 8 | +This example shows how to use the Standalone Report Parameters panel in an ASP.NET Core application. |
| 9 | + |
| 10 | + |
9 | 11 |
|
10 | 12 | The application includes two pages: one with the standalone report options panel and the other with the document viewer. Both pages load the same sample report. |
| 13 | + |
11 | 14 | The report is a list of invoices from the Northwind database. It includes parameters created in Visual Studio Report Designer that are used to filter the report data. |
12 | | -The parameter panel layout is created in code in the report class constructor using the [ParameterPanelFluentBuilder] class (https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Parameters.ParameterPanelFluentBuilder). |
13 | 15 |
|
14 | | -A model for the Standalone Report Parameters Panel component is created in the ParametersPanel controller action on the server. The model contains a report instance with the layout information that the Standalone Report Parameters Panel retrieves. The parameter panel layout information is stored in the [XtraReport.ParameterPanelLayoutItems](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.UI.XtraReport.ParameterPanelLayoutItems) collection. |
| 16 | +The parameter panel layout is created in code in the report class constructor using the [ParameterPanelFluentBuilder](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Parameters.ParameterPanelFluentBuilder) class . |
| 17 | + |
| 18 | +A model for the Standalone Report Parameters Panel component is created in the **ParametersPanel** controller action on the server. The model contains a report instance with the layout information that the Standalone Report Parameters Panel retrieves. The parameter panel layout information is stored in the [XtraReport.ParameterPanelLayoutItems](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.UI.XtraReport.ParameterPanelLayoutItems) collection. |
| 19 | + |
| 20 | +The client-side JavaScript code adds an Export button to the Standalone Report Parameter Panel component. When the user clicks the button, a request to the **ExportReport** controller action is executed, and the resulting PDF file is sent to the client. |
| 21 | + |
| 22 | +## Files to Review |
| 23 | + |
| 24 | +- [ParametersPanelReport.cs](CS\DXWebApplication1\PredefinedReports\ParametersPanelReport.cs) |
| 25 | +- [HomeController.cs](CS\DXWebApplication1\Controllers\HomeController.cs) |
| 26 | +- [ParametersPanel.cshtml](CS\DXWebApplication1\Views\Home\ParametersPanel.cshtml) |
| 27 | + |
| 28 | +## Documentation |
15 | 29 |
|
16 | | -The client-side JavaScript code adds an Export button to the Standalone Report Parameter Panel component. When the user clicks the button, a request to the ExportReport controller action is executed, and the resulting PDF file is sent to the client. |
| 30 | +- [Standalone Report Parameters Panel](https://docs.devexpress.com/XtraReports/404883/web-reporting/standalone-parameters-panel) |
| 31 | +- [Standalone Report Parameters Panel in ASP.NET Core Applications](https://docs.devexpress.com/XtraReports/404888/web-reporting/asp-net-core-reporting/standalone-parameters-panel-asp-net-application/add-the-standalone-parameters-panel-to-asp-net-core-application) |
| 32 | +- [How to Use Parameter Values from the Standalone Report Parameters Panel (ASP.NET Core App)](https://docs.devexpress.com/XtraReports/404889/web-reporting/asp-net-core-reporting/standalone-parameters-panel-asp-net-application/send-parameters-from-panel-to-server) |
0 commit comments