Skip to content

testdev-examples/Reporting_how-to-dynamically-generate-a-report-in-an-aspnet-mvc-application-e4714

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

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

This example illustrates how to create a DevExpress Report in code and preview it on a web page in an ASP.NET MVC application.

Create a report at runtime

To create a report at runtime, create a report instance and add report bands and report controls. Specify expression bindings for report controls. Bind the report to data.

Preview a report of a web page

Use the Web Document Viewer to preview a report on a web page. In this example, the viewer uses IReportProvider to load a report by its name. The name of a report is passed to the Bind method of WebDocumentViewerExtension. You can also bind the viewer to a report instance, a model, or the report associated with the specified CachedReportSourceWeb object. For more information, see WebDocumentViewerExtension.Bind method overloads.

See also

About

How to create a report at runtime and preview it on a webform in an ASP.NET MVC application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published