Blogs

Subscribe (RSS, Email)

Mehul Harry's DevExpress Blog

JavaScript, HTML 5, ASP.NET, DevExpress, ASP.NET MVC & WebForms, and News - Mehul Harry's DevExpress blog

Improved ASPxGridView Exporting for 2008 vol 2

     

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.

Published Jun 27 2008, 11:05 AM by Mehul Harry (DevExpress)
Technorati tags: Features, ASP.NET, ASPxGridView
Bookmark and Share

Comments

 

CESAR F. QüEB said:

Thank you for the info.

..but i have a doubt.... When will be available the 2008 Volume 2 version?.. in my customer section i can see the 2008.1.5 version... this mean that volume 2 is not ready yet?

Regards

June 27, 2008 6:21 PM
 

Mehul Harry (DevExpress) said:

Hi Cesar,

The beta for the 2008 vol 2 will be available very (very) soon. Smile

June 27, 2008 6:30 PM
 

Shankar said:

The ability to export the ASPxGridView with a master-detail layout has been added is a very useful feature. Will it cascade down multiple levels both depth wise and width wise?

June 27, 2008 8:02 PM
 

Mehul Harry (DevExpress) said:

Hello Shankar,

Yes, you can export multiple levels since it's unlimited. You'll have the ability to say which detail grid to export using an option. The report width will be defined by the maximum width of all grids. However, our report export system handles this pretty well.

June 30, 2008 2:00 PM
 

RAZ said:

Will I be able to add pictures to the header and footer ?

July 11, 2008 7:37 AM
 

Mehul Harry (DevExpress) said:

Hi Raz,

You can add the pictures to the header and footer templates but they don't currently export. I created a suggestion in the support center you can track here: www.devexpress.com/.../S91982.aspx

July 21, 2008 6:49 PM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at mharry@DevExpress.com. You can also follow him on Twitter: http://twitter.com/mehulharry
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.