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

How to export multiple gridview to one excel file with multiple sheets?

2 Answers 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Xiver
Top achievements
Rank 1
Xiver asked on 21 Mar 2012, 10:52 AM
Dear Admin,
I have two questions,
1) How to export multiple gridview to one excel file with multiple sheets?
2) I have a GridTileView and there is a chart in each of the tilewindow, How to export all the charts in the tileview into one excel file?

Thanks

Xavier

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 21 Mar 2012, 02:20 PM
Hello Xiver,

Regarding your RadGridView question : RadGridView does not  provide such feature. In order to achieve such behaviour you may need to implement it yourself. Here are some ideas  - when exporting RadGridView expects a stream to be passed in the Export method as parameter . Here you can pass your own memory stream .It will be populated with data form RadGridView and later may be manipulated by  code in order to achieve  the desired result ( multiple sheets ) .

I believe the same would be valid for RadChart as well.

Greetings,
Pavel Pavlov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Xiver
Top achievements
Rank 1
answered on 22 Mar 2012, 04:22 AM
sorry i've tried, I'm new to this, not familar with the stream. would you be kind to offer a demo on that
Tags
GridView
Asked by
Xiver
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Xiver
Top achievements
Rank 1
Share this question
or