Skip to content

DevExpress-Examples/reporting-mvc-create-report-at-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for ASP.NET MVC - How to Generate a Report at Runtime

This example generates a report at runtime and previews it in the Document Viewer or edits it in the Report Designer.

App Screenshot

In this example, the Document Viewer and Report Designer components use a custom service to get a report instance by name. The custom service (CustomReportProvider) implements the IReportProvider interface, and its GetReport method generates a report instance at runtime.

On the Document Viewer page, the report name is passed to the Bind method of WebDocumentViewerExtension.

On the Report Designer page, the report name is passed to the Bind method. To save reports, the Report Designer calls the CustomReportStorageWebExtension service that is the ReportStorageWebExtension class descendant.

Files to Review

Documentation

More Examples