Blogs

This Blog

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

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
Bookmark and Share

Comments

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)

@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
LIVE CHAT

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 info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

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