Improved ASPxGridView Exporting for 2008 vol 2

ASP.NET Team Blog
27 June 2008

We’ve made some major improvements to the exporting features for the ASPxGridView. The suggestions you provided were the main reason behind these improvements. So it pays to track and create suggestions. Thanks for the great feedback and expect these changes in the next major release, 2008 vol 2. Here’s the list of suggestions and improvements made:

Suggestion Details: Export - Add an ability to export a description of the exported ASPxGridView

Now you can add descriptive information into your exported files from the ASPxGridView. Output the date printed, page numbers, and other items which are inserted into the Title and Header sections. You can use the following new properties to add the descriptive information:

GridViewExporterHeaderFooter PageHeader;
GridViewExporterHeaderFooter PageFooter;

class GridViewExporterHeaderFooter {
  string Left { get; set; }
  string Center { get; set; }
  string Right { get; set; }
  FontInfo Font { get; }
  BrickAlignment VerticalAlignment { get; set; }
}

The following tags can be used (in the Left, Center and Right properties): [Page #], [Page # of Pages #], [Date Printed], [Time Printed] and [User Name].


Suggestion Details: GridViewExporter control with master and detail gridviews

The team worked hard to get it ready for you in time for the next release (I was pulling for this one as well). The ability to export the ASPxGridView with a master-detail layout has been added! You can now control the export mode of the detail grid. The following properties have been added:

GridViewDetailExportMode ASPxGridView.DetailSettings.ExportMode, { None, Expanded, All }. The default value is None. Set it to "Expanded" or "All" to export detail grids.
int ASPxGridView.DetailSettings.ExportIndex. The default is 0. Set it to "-1" to hide the detail grid from exporting.
int ASPxGridViewExporter.DetailVerticalOffset. The default value is 5
int ASPxGridViewExporter.DetailHorizontalOffset. The default value is 5


Suggestion Details: Export hyperlinks as hyperlinks, not as text

This minor fix will correct a small problem where hyperlinks were displayed as text in the exported file. They’ll now be displayed as proper hyperlinks in the exported file.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.