The DevExpress ASP.NET MVC Card View allows you to export its data with ease. Using specific static methods provided at the CardViewExtension class level, the CardView’s data can be exported to a file or stream in the following formats.
- PDF (ExportToPdf, WritePdf)
- XLS (ExportToXls, WriteXls)
- XLSX (ExportToXlsx, WriteXlsx)
- RTF (ExportToRtf, WriteRtf)
- DOCX (ExportToDocx, WriteDocx)
This demo illustrates how data within the Card View can be exported to different formats - based on the Card View's current settings (defined in a single location - within the Controller). These settings are passed to a View containing the extension’s markup - 'View(partial)' - and they are also used by export methods.