Skip to content

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

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

Does this example address your development requirements/objectives?

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