aspnet-115336-components-card-view-concepts-export-built-in-export.md
Note
Supported Versions : The information in this topic applies to DevExpress ASP.NET Card View v17.2 and later.
You can use the built-in standard toolbar commands and client-side/server-side API to export ASPxCardView data.
Note
Export with the built-in toolbar commands and client-side API is disabled by default due to possible security issues. To enable this functionality, set the ASPxGridExportSettings.EnableClientSideExportAPI property to true.
Standard Toolbar Commands
Export API
You can use the ASPxCardView.StylesExport property to customize the exported ASPxCardView element appearance.
Note
ASPxCardView cannot export template content or data columns that are hidden.
Note that templated elements are exported with their default display settings. For instance, if you export a card view with templated cells, they are displayed with default text labels in the exported file.
When you export data in XLS and XLSX formats, the following is included in the exported Excel document:
Note that when you export data to Excel formats, the following limitations apply:
Data Aware Mode Limitations
You can use the WYSIWYG (What You See Is What You Get) export mode to avoid these limitations. Note, however, that table formatting is lost in this mode.
ASPxCardView1.ExportXlsxToResponse(new XlsxExportOptionsEx { ExportType = ExportType.WYSIWYG });
To see the data export feature in action, refer to the following DevExpress ASP.NET Card View demos:
Exporting to Different Formats
See Also