This is a migrated thread and some comments may be shown as answers.

Drag & drop grid: export all the shipped orders to an excel file

3 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 14 Sep 2011, 07:00 AM
Hello,

I have two drag and drop grids and i would like to export all the shipped orders to an excel file. How could i make this?

Thank you very much.

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 16 Sep 2011, 02:26 PM
Hello George,

You could use RadGrid's built-in Export functionality. There are two possible options:

Office HTML format:
Help topic
Online demo

ExcelML format:
Help topic
Online demo

Regards,
Daniel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
0
George
Top achievements
Rank 1
answered on 19 Sep 2011, 10:51 AM
I take a null value for the cell to this line of code:

CellElement cell = e.Row.Cells.GetCellByName("OrderID");

I would like to ask you if the shipped orders grid needs an SQLDataSource like in the example. 
0
Daniel
Telerik team
answered on 22 Sep 2011, 08:04 AM
Hello George,

You can use virtually any datasource or alternatively you may take advantage of the advanced data-binding (simple data-binding is not supported).
In this case, however, you may need to set UseAllDataFields property to true.
<MasterTableView UseAllDataFields="true" ....

Kind regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
George
Top achievements
Rank 1
Answers by
Daniel
Telerik team
George
Top achievements
Rank 1
Share this question
or