Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.1
  • Print and Export Reports without a Preview in ASP.NET Web Forms Applications

    Export

    You can export a report on the server side and send the exported document back to the client.

    Use one of the ExportTo… methods to export a report to the desired format. For more information, review the following help topic: Document Export Overview.

    Print

    To print a report, export it to PDF and send it to the browser. The browser invokes the built-in PDF viewer to open the PDF content. You can use the viewer’s Print command to print the document.

    You can also send PDF content to a separate IFrame. In this case, the browser shows only the Print dialog and does not open a new PDF Viewer window.

    Note

    The complete sample project is available in the following DevExpress Examples repository on GitHub: How to print/export XtraReport in an ASP.NET WebForms application without showing a report preview.