An ASPxCardViewExporter control used to export the ASPxCardView control's data.
public class ASPxCardViewExporter : ASPxGridExporterBase
Public Class ASPxCardViewExporter Inherits ASPxGridExporterBase
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 demonstrates how to export grid data to a file in a PDF format using the ASPxGridBase.ExportPdfToResponse method.
PdfExportOptions options = new PdfExportOptions(); options.Compressed = false; ASPxGridView1.ExportPdfToResponse(options);