Skip to main content

ASPxCardViewExporter Class

An ASPxCardViewExporter control used to export the ASPxCardView control’s data.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public class ASPxCardViewExporter :


The ASPxCardViewExporter component allows you to export the ASPxCardView’s data to a file or stream in various formats - PDF, RTF, XLSX, and XLS. To learn more, see Built-in Export .

Note that the ASPxCardViewExporter cannot export data columns that are hidden, nor can it export the content of templates.

Templated elements are exported with their default representation. For instance, if you export a grid with templated cells, they are represented as default labels with text in the obtained file.


Don’t export the ASPxCardView’s content during callbacks, because ASP.NET does not support sending binary content during a callback.


Before exporting a grid, the ASPxCardViewExporter component creates an export document on a server. Therefore, when you export a large amount of data to a server with limited memory, the OutOfMemoryException exception can appear.


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

PdfExportOptions options = new PdfExportOptions();
options.Compressed = false;
See Also