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

Exporting Mutliple radgrids to one word Doc

3 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 25 Aug 2011, 01:11 PM
I would like to be able to export data from multiple radgrids at the same time to a word document, Is this possible?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Aug 2011, 01:34 PM
Hello Bob,

You can check the Code-Library and see whether it helps.
Export multiple RadGrids in single PDF/Excel file.

Thanks,
Shinu.
0
Bob
Top achievements
Rank 1
answered on 25 Aug 2011, 02:11 PM
Seems a good solution to get the data out but does not seem to allow you to add any extra information to the word document like headins etc
Also we have our radgrids wrapped inside field containers so the solution will not work for this.
Thanks Bob
0
Accepted
Daniel
Telerik team
answered on 31 Aug 2011, 09:49 AM
Hello Bob,

I'm afraid this is not supported out of the box, so a workaround should be used. The easiest way would be to wrap the exported grids in another grid.
Is it also possible to manually export the grids by rendering each of them separately. You can then pass the combined HTML code to a Microsoft Office HTML-compatible file, however this is out of the scope and will require some additional coding.

As to the first question, you can add your own HTML content to the exported file using the GridExporting event where you can get the generated output from the ExportOutput property (event argument).

Best regards,
Daniel
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Bob
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or