Rad Grid Export Issue for Word, PDF and Excel

6 posts, 0 answers
  1. Alexis
    Alexis avatar
    23 posts
    Member since:
    Aug 2010

    Posted 08 Jul 2011 Link to this post

    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


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Jul 2011 Link to this post

    Hello Alexis,

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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Alexis
    Alexis avatar
    23 posts
    Member since:
    Aug 2010

    Posted 11 Jul 2011 Link to this post

    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
  5. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 13 Jul 2011 Link to this post

    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!

  6. Alexis
    Alexis avatar
    23 posts
    Member since:
    Aug 2010

    Posted 14 Jul 2011 Link to this post

    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
  7. Sreekanth
    Sreekanth avatar
    3 posts
    Member since:
    Jul 2012

    Posted 03 Jul 2012 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017