Skip to main content
A newer version of this page is available. .

How to: Export ASPxGridView Data as a PDF

This example uses the ASPxGridBase.ExportPdfToResponse method to export grid data to a file in PDF format.

PdfExportOptions options = new PdfExportOptions();
options.Compressed = false;
ASPxGridView1.ExportPdfToResponse(options);