Skip to main content

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);