ASPxCardViewExporter Class
An ASPxCardViewExporter control used to export the ASPxCardView control’s data.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public class ASPxCardViewExporter :
ASPxGridExporterBase
#Remarks
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.
Note
Don’t export the ASPx
Note
Before exporting a grid, the ASPx
#Example
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);