Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Collapse]Card View
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Focus and Navigation
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
     Appearance Customization
     Adaptivity
     Save and Restore Layout
    [Expand]Templates
    [Collapse]Export
      Built-in Export
      Custom Export
     Toolbars
   [Expand]Visual Elements
   [Expand]Member Tables
   [Expand]Examples
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Built-in Export

Supported Versions

The information in this topic applies to DevExpress ASP.NET Card View version 17.2 and later.

ASPxCardView data exporting can be implemented using the built-in standard toolbar commands, client-side and server-side API.

Note

Exporting using 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

    The ASPxCardView toolbar provides frequently used grid command including export commands. Specify a standard grid exporting command (listed below) using the CardViewToolbarItem.Command property setting. Refer to the ASPxCardView toolbars topic or Toolbar online demo for more information on using grid toolbars.

  • Exporting API

    Execute an appropriate server or client method to implement grid data exporting. See Member Table: Built-in Export for a list of available methods.

    The following examples illustrate how to use client and server exporting methods:

    • Client API

    • Server API

You can customize the exported ASPxCardView elements' appearance with the ASPxCardView.StylesExport property.

Note

The ASPxCardView cannot export data columns that are hidden or export templates' content.

Note that templated elements are exported with their default representation. For instance, if you export a card view with templated cells, they are represented as default labels with text in the obtained file.

Expanded Excel Data Aware Export

When exporting data in both XLS and XLSX formats, the following card view data is maintained in the resulting excel document:

  • Data sorting and filtering - allowing end-users to display relevant data in the desired order.
  • Totals summaries - with the ability to modify/change formulas.
  • Format conditions - with the ability to modify/change conditional formatting rules.
  • Data validation for combo-box columns
  • Fixed columns

Expanded Export Limitations

Data Aware Mode Limitations

You can avoid the specified limitations using the WYSIWYG (What You See Is What You Get) export mode. However, table formatting is lost in this mode.

Expanded Online Demos

To see the data export in action, refer to the following online demos:
Exporting to Different Formats
Export Selected Cards
Export with Format Conditions

Expanded Member Table

Expanded Task-Based Help

Expanded See Also

Is this topic helpful?​​​​​​​