Blogs

News

Email Subscriptions

Mehul Harry's DevExpress Blog

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: http://www.devexpress.com/Downloads/NET/

 

Published May 12 2010, 03:31 PM by Mehul Harry (DevExpress)
Bookmark and Share

Comments

 

Adam Nerell said:

"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) said:

@Adam,

:) 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 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 8:30am and 5:00pm 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.