ASP.NET GridView And TreeList: 2 Export Improvements – v2010 vol 1

12 May 2010

Two very useful export enhancements have been added to the ASPxGridView and ASPxTreeList.

Starting with DXperience v2010.1, you can change the exported column width size and export to the Excel 2007 XLSX document format:

1. Change Column Width

To change the column width before exporting, use the ExportWidth property. This property has been added to both the GridViewColumn and TreeListDataColumn classes.

2. Excel XLSX Format

Two new methods have been added to the ASPxGridViewExporter and ASPxTreeListExporter controls:

  • WriteXlsx - Exports the grid's data to a specific storage (such as a stream or file) in XLSX format
  • WriteXlsxToResponse - Exports the grid's data to a specific storage (such as a stream or file) in XLSX format and writes it to the Response

Both of these improvements came from customer suggestions. Your feedback has helped improve the ASPxGridView and ASPxTreeList for everyone. Thank you and keep it coming.

DXperience? What's That?

DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/

 

2 comment(s)
Adam Nerell

"Your feedback has helped improve the ASPxScheduler for everyone."

Did someone use the same template for two separate blog entries?

18 May, 2010
Mehul Harry (DevExpress)

@Adam,

:) Corrected, thanks. And it was actually multitasking. Don't try to answer email while writing a blog post. Smile

18 May, 2010

Please login or register to post comments.