Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Exporting to Different Formats

  • Export to PDF
  • Export to XLS
  • Export to XLSX
  • Export to DOCX
  • Export to RTF
  •  
    ...
Product
Name:Chai
Category Name:Beverages
Details
Unit Price:$18.00
Quantity Per Unit:10 boxes x 20 bags
Discontinued:
Product
Name:Chang
Category Name:Beverages
Details
Unit Price:$19.00
Quantity Per Unit:24 - 12 oz bottles
Discontinued:
Product
Name:Aniseed Syrup
Category Name:Condiments
Details
Unit Price:$10.00
Quantity Per Unit:12 - 550 ml bottles
Discontinued:
Product
Name:Chef Anton's Cajun Seasoning
Category Name:Condiments
Details
Unit Price:$22.00
Quantity Per Unit:48 - 6 oz jars
Discontinued:
Page 1 of 20 (77 items)Prev1234567181920Next


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.

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.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxCardViewDemos