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

[Solved] Export to Excel = garbage data ??

1 Answer 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neal
Top achievements
Rank 1
Neal asked on 31 Mar 2009, 02:38 PM
Hi,

using

protected

void btnExportExcel_Click(object sender, EventArgs e)

 

{

grvAnimalDetl.ExportSettings.ExportOnlyData =

true;

 

grvAnimalDetl.ExportSettings.IgnorePaging =

true;

 

grvAnimalDetl.ExportSettings.OpenInNewWindow =

true;

 

grvAnimalDetl.MasterTableView.ExportToExcel();

 

}


I get the beneath when I use RadGrid export to excel


th+AD4APA-th style+AD0AIg-width:90px+ADsAIgA+-UsageType+ADw-/th+AD4APA-th style+AD0AIg-width:90px+ADsAIgA+-Gender+ADw-/th+AD4APA-th style+AD0AIg-width:120px+ADsAIgA+-Name+ADw-/th+AD4APA-th+AD4-Age+A

(I have  upgraded to the latest hot fix (..runs ok, but maybe not correctly upgraded?)
TIA
Neal

1 Answer, 1 is accepted

Sort by
0
Neal
Top achievements
Rank 1
answered on 31 Mar 2009, 02:43 PM
Sorry, Belay that one.

I have 2 grids in the form...one is 2009.1 upgraded, the other is 2008.2 and I tried to Export the 2008.2 version.
the 2009.1 version exports fine.

thx
Neal
Tags
Grid
Asked by
Neal
Top achievements
Rank 1
Answers by
Neal
Top achievements
Rank 1
Share this question
or