ASP.NET Team Blog

This Blog


Mehul Harry is the DevExpress Web Program Manager. Follow him on twitter: @Mehulharry

Subscribe (RSS, Email)


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

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:


Published May 12 2010, 03:31 PM by
Bookmark and Share


Adam Nerell

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

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

May 18, 2010 7:14 AM

Mehul Harry (DevExpress)


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

May 18, 2010 1:37 PM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at You can also follow him on Twitter:

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, write to us at or call us at +1 (818) 844-3383


DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2018 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners