Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to dynamically generate a report in an ASP.NET MVC application

$
0
0

This example illustrates how to create a report in code in an ASP.NET MVC application.

The following steps are essential to create a report layout:

1. Create a report instance and bind it to data.

2. Add required bands to the report.

3. Add required controls to the created bands and provide data to them.

After the report layout is complete, you can generate the report document and display it in a Print Preview.


See also:
How to use XtraReports in an ASP.NET MVC application
How to link the Document Viewer with an external Ribbon control

Question Comments

Added By: vkr at: 11/14/2013 7:37:25 AM    

Where are we assigning the report with data here ? I see creating a report and returning it only!!

Added By: saeed dalvand at: 12/4/2015 8:11:31 AM    

that not work for me in asp.net mvc
i can use xtrareport in devexpress Application mvc but no in mvc Asp.net application

Added By: Vasily (DevExpress Support) at: 12/4/2015 10:31:47 AM    

Hello Saeed,

To process your recent post more efficiently, I created a separate ticket on your behalf: T320953: XtraReport is not working in ASP.NET MVC Application. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>