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

Rad Grid Export Issue for Word, PDF and Excel

5 Answers 164 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexis
Top achievements
Rank 1
Alexis asked on 08 Jul 2011, 12:57 PM

Hi Team,
            1) We are using RadGrid in our application, we plan to use the In-built functionality from Telerik Radgrid for Exporting the Grid data to Word document and PDF format document. We have Grid data, and Chart Image for the corresponding Grid Data which we displaying outside the Grid. I have attached the Screenshot of my application, I need to populate the Chart Image along with the Grid Data to word document and pdf document while export.  (attached file Name: Application_ScreenShot.JPG)

            2) Also I would like to know that Isn't it possible to export the Grid data with skin(font color,fort size,font family) to Word and Excel and PDF format.

            3) While I tried to Export into PDF format, the Grid Data is not populating properly. Kindly find the attached file for get me.(attached File Name for reference: PDF.JPG)

Please give me any possible solution on this ASAP.

Thanks
Alexis


5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Jul 2011, 01:25 PM
Hello Alexis,

Try the same approach in the following code library for exporting charts in pdf and excel.
Exporting RadChart to PDF.

Thanks,
Shinu.
0
Alexis
Top achievements
Rank 1
answered on 11 Jul 2011, 07:02 AM
Hi Shinu,
                   I saw your reply. I already looked at that link which you mentioned on your reply. In that demo, The Charts are displaying inside the Grid. But My scenario is, I'm displyaing the Grid data like below, and I have generated the Chart for this Grid data. I'm exporting this Grid Data to Word,Excel and PDF with Telerik In-built functionality. I would like to know, Is there any option available in telerik to export external images to Word,excel and PDF by any In-built functionality?

I have attached the Chart Image with this Post.

Name

HRA

Salary

XXX

$004,200.00

$005,000.00

YYY

$002,500.00

$004,500.00

AAA

$005,400.00

$006,500.00

BBB

$003,200.00

$004,550.00

FFF

$002,800.00

$006,100.00

TTT

$002,900.00

$004,800.00


Seeking your Reply ASAP,
Thanks
Alexis
0
Daniel
Telerik team
answered on 13 Jul 2011, 05:28 PM
Hello Alexis,

You can export images only when using RadGrid PDF export. And yes, it is possible to export the desired chart provided that it is saved as image (demonstrated in the sample project posted by Shinu)
For more information, please visit the following link:
PDF export

Best regards,
Daniel
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Alexis
Top achievements
Rank 1
answered on 14 Jul 2011, 12:03 PM
Daniel,
              I hope that I clearly explained my scenario. I have a Grid full of data and Chart in a form of JPG format image. When I click a Exprot Button(External Button) for Exporting to Word, the functionality must populate the Grid data as well as the Chart Image to the word document. I'm using  below In-Built function for exporting to Word. Now I would like to populate an external image to that word document. Please provide any sample application which will help me out.

RadGrid1.MasterTableView.ExportToWord();
Image name: Chart-Export-Issue.JPG



Please reply me with Good solution ASAP.

Thanks
Alexis
0
Sreekanth
Top achievements
Rank 1
answered on 03 Jul 2012, 06:57 AM
Hello Alexis,

Were you able to solve this issue? I am also having the same problem. I have a radchart and a radgrid in the same page. I would like to use the ExportToPdf functionality to export radchart as well as radgrid.

I can save my radchart as an image. But is there a way to embed this image to the pdf page generated by ExportToPdf method? In that way I can have radchart as well as my radgrid in the same pdf file.

Can anyone help me with this issue?

Thanks
-Sree
Tags
Grid
Asked by
Alexis
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Alexis
Top achievements
Rank 1
Daniel
Telerik team
Sreekanth
Top achievements
Rank 1
Share this question
or