Skip to content

DevExpress-Examples/reporting-asp-net-core-standalone-parameters-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for ASP.NET Core - Standalone Report Parameters Panel

This example uses the standalone DevExpress Report Parameters Panel in an ASP.NET Core-powered application.

Standalone Report Parameters Panel

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.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)