This example uses the standalone DevExpress Report Parameters Panel in an ASP.NET Core-powered application.
The application includes two pages: one with the standalone Report Options Panel and the other with the DevExpress Document Viewer. Both pages load the same sample report.
The report is a list of invoices from the Northwind database. It includes parameters created with our Visual Studio Report Designer – parameters that are used to filter report data.
Parameter Panel layout is created in code in the report class constructor using the ParameterPanelFluentBuilder class .
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 necessary layout information (which is subsequently retrieved by the standalone Report Parameters Panel). Parameters Panel layout information is stored in the XtraReport.ParameterPanelLayoutItems collection.
Client-side JavaScript code adds an Export button to the standalone Report Parameters 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.
- Standalone Report Parameters Panel
- Standalone Report Parameters Panel in ASP.NET Core Applications
- How to Use Parameter Values from the Standalone Report Parameters Panel (ASP.NET Core App)
(you will be redirected to DevExpress.com to submit your response)