Skip to content

Print and export a report in a browser without previewing it on a web page.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-angular-print-without-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for Angular - Print and Export Without Preview

This example prints and exports a report in a browser without previewing it on a web page.

Print and Export Without Preview - Angular

Printing

On the server side, add a controller action to:

On the client-side, two options are available:

  • Print a report in a new tab. Create a print button and invoke a new tab by using the client-side window.Open(url, "_blank") method to open a new tab and allow clients to print a document.

  • Print a report with iFrame. Once a client clicks the print button, invoke the browser's Print dialog in the HTMLIFrameElement so that users can proceed with printing the document.

Exporting

Create a server-side controller action to export a report to a format selected by a user.

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)

About

Print and export a report in a browser without previewing it on a web page.

Topics

Resources

License

Stars

Watchers

Forks