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

Export Master-Detail Records

v
  • Export to PDF
  • Export to XLS
  • Export to XLSX
  • Export to DOCX
  • Export to RTF
  • Export to CSV
  •  
    ...
Category ID 
Category Name 
Description 
Picture 
Collapse1BeveragesSoft drinks, coffees, teas, beers, and ales
 
Product ID 
Product Name 
Unit Price 
Quantity Per Unit 
1Chai$18.0010 boxes x 20 bags
2Chang$19.0024 - 12 oz bottles
24Guaraná Fantástica$4.5012 - 355 ml cans
34Sasquatch Ale$14.0024 - 12 oz bottles
35Steeleye Stout$18.0024 - 12 oz bottles
38Côte de Blaye$263.5012 - 75 cl bottles
39Chartreuse verte$18.00750 cc per bottle
43Ipoh Coffee$46.0016 - 500 g tins
67Laughing Lumberjack Lager$14.0024 - 12 oz bottles
70Outback Lager$15.0024 - 355 ml bottles
Page 1 of 2 (12 items)Prev12Next
Expand2CondimentsSweet and savory sauces, relishes, spreads, and seasonings
Expand3ConfectionsDesserts, candies, and sweet breads
Expand4Dairy ProductsCheeses
Expand5Grains/CerealsBreads, crackers, pasta, and cereal
Expand6Meat/PoultryPrepared meats
Expand7ProduceDried fruit and bean curd
Expand8SeafoodSeaweed and fish
Note: If you export grouped data to RTF, be sure to open the resulting file with an editor that fully supports RTF, including tables. For instance, Microsoft WordPad does not support this feature, and thus the file may appear corrupt.

The DevExpress ASP.NET Grid View (ASPxGridView) allows both master and detail data to be exported with its SettingsDetail.ExportMode property.

In this demo, use the Details Export Mode combo box to select the desired data export mode.

  • None – only master rows will be exported.
  • Expanded – only master rows and expanded detail rows will be expanded.
  • All – all master and detail rows will be exported.

The ASPxGridView control provides the ability to export binary images. The settings of exported images are controlled by the ExportImageSettings property (see the ASPX code).

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
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxGridViewDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxGridViewDemos