This is a migrated thread and some comments may be shown as answers.
Export Multiple RadGrid's to PDF
15 Answers 86 Views
This is a migrated thread and some comments may be shown as answers.
Cory
Top achievements
Rank 1
Cory asked on 11 Dec 2009, 08:31 PM
Does anyone know how to export multiple RadGrid's on a page to one PDF?  I have tried wrapping the RadGrid's in one big RadGrid, like the solution for exporting to Excel, without success.

Thanks in advance!

15 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 15 Dec 2009, 06:45 PM
Hello Cory,

Please examine the following link:
Export multiple RadGrids in single PDF/Excel file

Sample project:
exportmultipleradgridspdf.zip

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Cory
Top achievements
Rank 1
answered on 17 Dec 2009, 08:35 PM
Thank you for your reply.  I took the example and added the exact same code as a sample page to my project for testing.  Unfortunately, I am getting an error message stating: 

  System.InvalidCastException: Unable to cast object of type 'Telerik.Web.Apoc.Layout.BlockArea' to type 'Telerik.Web.Apoc.Layout.AreaContainer'. at Telerik.Web.Apoc.Fo.Flow.BlockContainer.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area) at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region) at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area) at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree) at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence) at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement() at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Any ideas would be much appreciated!

Also, the link in your previous post Export multiple RadGrids in single PDF/Excel file does not work.
0
Cory
Top achievements
Rank 1
answered on 18 Dec 2009, 08:04 PM
Is there any other issues that might cause this error that I can troubleshoot?  I was unable to find any DIV tags with absolute positioning that would have been causing the error.
0
Accepted
Daniel
Telerik team
answered on 18 Dec 2009, 09:37 PM
Hello Cory,

Most common cases are listed below:
1) div with hardcoded sizes (width, heigth)
2) div with fixed or absolute position
 
If you post your markup here I will try to identify the cause.


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Cory
Top achievements
Rank 1
answered on 29 Dec 2009, 03:50 PM
Thank you so much!! We found it to be an issue with the default skin being applied to the RadGrid's
0
Pierre
Top achievements
Rank 1
answered on 23 Feb 2012, 04:19 PM
<table border="0" id="ctl00_ContentPlaceHolder1_ctl00_rgExecutiveSummary_ctl00" style="width:100%;table-layout:auto;empty-cells:show;">
 <colgroup>
  <col style="width:20px" />
  <col style="width:220px" />
  <col style="width:420px" />
  <col style="width:420px" />
  <col style="width:420px" />
  <col  />
 </colgroup>
<thead>
  <tr>
   <th scope="col">&nbsp;</th><th scope="col">&nbsp;</th><th scope="col" style="border-bottom:solid 1px #000;">
                            <table id="Table1" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td colspan="6">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="6" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Funded
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        MTD
                                    </td>
                                    <td colspan="3" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Period
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="color: Black; width: 60px;">
                                        Cnt
                                    </td>
                                    <td align="right" style="color: Black; width: 90px; padding-right: 50px;">
                                        GP
                                    </td>
                                    <td align="center" style="color: Black; width: 50px;">
                                        Rate<sup>1</sup>
                                       
                                    </td>
                                    <td align="right" style="color: Black; width: 50px;">
                                        Cnt
                                    </td>
                                    <td align="right" style="color: Black; width: 100px; padding-right: 50px;">
                                        GP
                                    </td>
                                    <td align="center" style="color: Black; width: 50px;">
                                        Rate<sup>1</sup>
                                       
                                    </td>
                                </tr>
                            </table>
                        </th><th scope="col" style="border-bottom:solid 1px #000;">
                            <table id="Table1" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td colspan="6">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="6" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Open PA Complete
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        MTD
                                    </td>
                                    <td colspan="3" align="right" style="color: Black; border-bottom: solid 1px Black;
                                        padding: 0px 30px 0px 0px;">
                                        2/22/2012
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="color: Black; width: 50px;">
                                        Cnt
                                    </td>
                                    <td align="right" style="color: Black; width: 100px; padding-right: 30px;">
                                        GP
                                    </td>
                                    <td align="center" style="color: Black; width: 50px;">
                                        Rate<sup>1</sup>
                                       
                                    </td>
                                    <td align="right" style="color: Black; width: 50px;">
                                        Cnt
                                    </td>
                                    <td align="right" style="color: Black; width: 100px; padding-right: 30px;">
                                        GP
                                    </td>
                                    <td align="center" style="color: Black; width: 50px;">
                                        Rate<sup>1</sup>
                                       
                                    </td>
                                </tr>
                            </table>
                        </th><th scope="col" style="border-bottom:solid 1px #000;">
                            <table id="Table1" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td colspan="6" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Funded Net $ Raised
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Actual
                                    </td>
                                    <td colspan="2" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        If all at
                                        4.00%
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="color: Black; width: 75px; border-bottom: solid 1px Black;">
                                        MTD
                                    </td>
                                    <td align="center" style="color: Black; width: 40px; border-bottom: solid 1px Black;">
                                        Rate<sup>
                                            2</sup>
                                       
                                    </td>
                                    <td align="center" style="color: Black; width: 75px; border-bottom: solid 1px Black;">
                                        Period
                                    </td>
                                    <td align="center" style="color: Black; width: 40px; border-bottom: solid 1px Black;">
                                        Rate<sup>
                                            2</sup>
                                       
                                    </td>
                                    <td align="center" style="color: Black; width: 85px; border-bottom: solid 1px Black;">
                                        MTD
                                    </td>
                                    <td align="center" style="color: Black; width: 85px; border-bottom: solid 1px Black;">
                                        Period
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="color: Black;  height: 24px;">
                                        $
                                    </td>
                                    <td align="center" style="color: Black;">
                                        %
                                    </td>
                                    <td align="center" style="color: Black;">
                                        $
                                    </td>
                                    <td align="center" style="color: Black;">
                                        %
                                    </td>
                                    <td align="center" style="color: Black;">
                                        $
                                    </td>
                                    <td align="center" style="color: Black;">
                                        $
                                    </td>
                                </tr>
                            </table>
                        </th><th scope="col" style="border-bottom:solid 1px #000;">
                            <table id="Table1" cellspacing="0" cellpadding="0" border="0" style="color: Black; float:left;">
                                <tr>
                                    <td colspan="6" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Open PA Complete Net $ to be Raised
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        Projection
                                    </td>
                                    <td colspan="2" align="center" style="color: Black; border-bottom: solid 1px Black;">
                                        If all at
                                        4.00%
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="color: Black; width: 75px; border-bottom: solid 1px Black;">
                                        MTD <sup>
                                            4</sup>
                                       
                                    </td>
                                    <td align="center" style="color: Black; width: 40px; border-bottom: solid 1px Black;">
                                        Rate<sup>
                                            3</sup>
                                       
                                    </td>
                                    <td align="center" style="color: Black; width: 75px; border-bottom: solid 1px Black;">
                                        2/22/2012
                                        <sup>
                                            4</sup>
                                       
                                    </td>
                                    <td align="center" style="color: Black; width: 40px; border-bottom: solid 1px Black;">
                                        Rate<sup>
                                            3</sup>
                                       
                                    </td>
                                    <td align="center" style="color: Black; width: 85px; border-bottom: solid 1px Black;">
                                        MTD
                                    </td>
                                    <td align="center" style="color: Black; width: 85px; border-bottom: solid 1px Black;">
                                        2/22/2012
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="color: Black; height: 24px;">
                                        $
                                    </td>
                                    <td align="center" style="color: Black;">
                                        %
                                    </td>
                                    <td align="center" style="color: Black;">
                                        $
                                    </td>
                                    <td align="center" style="color: Black;">
                                        %
                                    </td>
                                    <td align="center" style="color: Black;">
                                        $
                                    </td>
                                    <td align="center" style="color: Black;">
                                        $
                                    </td>
                                </tr>
                            </table>
                        </th>
  </tr>
 </thead><tbody>
 <tr>
  <td>&nbsp;</td><td colspan="5" style="background-color:#ffffff;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;height:0px;"></td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                SSHS
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        1
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        37,346
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        17.11
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        2
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        49,681
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        17.93
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        70,602
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        6.25
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        91,687
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        5.96
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        84,130
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        106,338
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                SSMGR
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        2
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        90,711
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        26.38
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        4
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        363,164
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        20.01
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        158,293
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        7.18
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        606,746
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        7.43
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        281,072
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        924,794
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                SS01
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        23
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        826,624
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        13.53
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        60
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        2,712,959
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        14.55
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        18
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        497,221
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        15.98
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        104
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        3,281,867
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        16.93
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        2,224,388
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        7.04
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        6,045,824
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        7.10
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        3,066,359
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        8,979,861
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        713,268
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.39
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        5,884,082
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.18
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        1,179,056
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        9,048,311
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                SS02
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        3
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        42,112
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        16.00
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        10
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        217,538
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        17.02
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        65,608
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.00
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        345,454
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.00
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        89,617
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        485,190
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td><div style="text-align: left; padding: 0px 0px 0px 57px; width: 125px;font-weight:bold;">SS Sub Total:</div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:400px;"><div style="text-align:right;float:left; width:44px;color:#000000;">52</div><div style="text-align:right;float:left; width:100px;color:#000000;">1,909,362</div><div style="text-align:right;float:left; width:80px;color:#000000;"><span style="padding-right:24px">14.18</span></div><div style="text-align:right;float:left; width:20px;color:#000000;">132</div><div style="text-align:right;float:left; width:90px;color:#000000;">6,251,608</div><div style="text-align:right;float:left; width:64px;color:#000000;">14.95</div></div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:404px;"><div style="text-align:right;float:left; width:50px;color:#000000;">42</div><div style="text-align:right;float:left; width:96px;color:#000000;">1,078,666</div><div style="text-align:center;float:left; width:80px;color:#000000;"><span style="padding-right:4px">15.98</span></div><div style="text-align:right;float:left; width:30px;color:#000000;">228</div><div style="text-align:right;float:left; width:90px;color:#000000;">6,998,810</div><div style="text-align:right;float:left; width:54px;color:#000000;">16.93</div></div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:392px;"><div style="text-align:right;float:left; width:70px;color:#000000;">4,906,566</div><div style="text-align:right;float:left; width:40px;color:#000000;">7.02</div><div style="text-align:right;float:left; width:78px;color:#000000;">13,488,514</div><div style="text-align:right;float:left; width:41px;color:#000000;">7.11</div><div style="text-align:right;float:left; width:84px;color:#000000;">6,863,122</div><div style="text-align:right;float:left; width:79px;color:#000000;">20,021,986</div></div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:392px;"><div style="text-align:right;float:left; width:70px;color:#000000;">1,557,752</div><div style="text-align:right;float:left; width:40px;color:#000000;">8.35</div><div style="text-align:right;float:left; width:78px;color:#000000;">12,459,072</div><div style="text-align:right;float:left; width:41px;color:#000000;">8.17</div><div style="text-align:right;float:left; width:84px;color:#000000;">2,537,346</div><div style="text-align:right;float:left; width:79px;color:#000000;">19,067,002</div></div></td>
 </tr><tr>
  <td>&nbsp;</td><td colspan="5" style="background-color:#ffffff;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;height:0px;"></td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                LTHS
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        1
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        -53,375
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        11.01
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        93,408
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                LTMGR
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        2
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        31,365
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        12.19
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        8
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        276,735
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        12.87
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        1
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        92,454
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        11.88
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        119,324
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.09
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        1,185,942
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        3.15
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        172,337
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        1,525,190
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        263,443
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        7.00
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        345,191
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                LT01
                            </div>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 50px; text-align:right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right; ">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td><td>
                            <table id="Table2" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        -
                                    </td>
                                </tr>
                            </table>
                        </td>
 </tr><tr>
  <td>&nbsp;</td><td><div style="text-align: left; padding: 0px 0px 0px 57px; width: 125px;font-weight:bold;">LT Sub Total:</div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:400px;"><div style="text-align:right;float:left; width:44px;color:#000000;">4</div><div style="text-align:right;float:left; width:100px;color:#000000;">62,730</div><div style="text-align:right;float:left; width:80px;color:#000000;"><span style="padding-right:24px">12.19</span></div><div style="text-align:right;float:left; width:20px;color:#000000;">18</div><div style="text-align:right;float:left; width:90px;color:#000000;">446,720</div><div style="text-align:right;float:left; width:64px;color:#000000;">12.76</div></div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:404px;"><div style="text-align:right;float:left; width:50px;color:#000000;">0</div><div style="text-align:right;float:left; width:96px;color:#000000;">0</div><div style="text-align:center;float:left; width:80px;color:#000000;"><span style="padding-right:4px">0</span></div><div style="text-align:right;float:left; width:30px;color:#000000;">2</div><div style="text-align:right;float:left; width:90px;color:#000000;">184,908</div><div style="text-align:right;float:left; width:54px;color:#000000;">11.88</div></div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:392px;"><div style="text-align:right;float:left; width:70px;color:#000000;">238,648</div><div style="text-align:right;float:left; width:40px;color:#000000;">8.09</div><div style="text-align:right;float:left; width:78px;color:#000000;">2,371,884</div><div style="text-align:right;float:left; width:41px;color:#000000;">3.15</div><div style="text-align:right;float:left; width:84px;color:#000000;">344,674</div><div style="text-align:right;float:left; width:79px;color:#000000;">3,237,196</div></div></td><td style="border-bottom:solid 1px #000;"><div style="float:left; width:392px;"><div style="text-align:right;float:left; width:70px;color:#000000;">0</div><div style="text-align:right;float:left; width:40px;color:#000000;">0</div><div style="text-align:right;float:left; width:78px;color:#000000;">526,886</div><div style="text-align:right;float:left; width:41px;color:#000000;">7</div><div style="text-align:right;float:left; width:84px;color:#000000;">0</div><div style="text-align:right;float:left; width:79px;color:#000000;">690,382</div></div></td>
 </tr>
 </tbody>
 <tfoot>
  <tr>
   <td>&nbsp;</td><td>
                            <div style="text-align: left; padding: 0px 0px 0px 57px; width: 140px;float:left;">
                                Grand Total:
                            </div>
                        </td><td style="border-bottom:Double 3px #000;">
                            <table id="Table3" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        56
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        1,972,092
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        14.07
                                    </td>
                                    <td style="width: 30px; border: solid 0px white; text-align: right;">
                                        150
                                    </td>
                                    <td style="width: 70px; border: solid 0px white; text-align: right;">
                                        6,698,328
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align:right;">
                                        14.49
                                    </td>
                                </tr>
                            </table>
                        </td><td style="border-bottom:Double 3px #000;">
                            <table id="Table3" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 60px; border: solid 0px white; text-align: right;">
                                        42
                                    </td>
                                    <td style="width: 90px; border: solid 0px white; text-align: right;">
                                        1,078,666
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        15.98
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        230
                                    </td>
                                    <td style="width: 100px; border: solid 0px white; text-align: right;">
                                        7,183,718
                                    </td>
                                    <td style="width: 50px; border: solid 0px white; text-align: right;">
                                        16.69
                                    </td>
                                </tr>
                            </table>
                        </td><td style="border-bottom:Double 3px #000;">
                            <table id="Table3" cellspacing="0" cellpadding="0" width="400" border="0">
                                <tr>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        5,145,214
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        7.08
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        15,860,398
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        6.52
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        7,207,796
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        23,259,182
                                    </td>
                                </tr>
                            </table>
                        </td><td style="border-bottom:Double 3px #000;">
                            <table id="Table3" cellspacing="0" cellpadding="0" border="0" style="overflow:hidden;">
                                <tr>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        1,557,752
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.36
                                    </td>
                                    <td style="width: 75px; border: solid 0px white; text-align: right;">
                                        12,985,958
                                    </td>
                                    <td style="width: 40px; border: solid 0px white; text-align: right;">
                                        8.12
                                    </td>
                                    <td style="width: 85px; border: solid 0px white; text-align: right;">
                                        2,537,346
                                    </td>
                                    <td style="width: 80px; border: solid 0px white; text-align: right;">
                                        19,757,384
                                    </td>
                                </tr>
                            </table>
                        </td>
  </tr>
 </tfoot>
</table>
0
Daniel
Telerik team
answered on 23 Feb 2012, 05:18 PM
Hello Cory,

Excuse me for the broken links. I posted them again:
Export multiple RadGrids in single PDF/Excel file

exportmultipleradgridspdf.zip

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal. Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Craig
Top achievements
Rank 1
answered on 19 Jun 2014, 03:59 PM
That link is broken too... try this:
http://www.telerik.com/support/code-library/export-multiple-radgrids-in-single-pdf-excel-file
0
Daniel
Telerik team
answered on 23 Jun 2014, 08:10 AM
Hello Craig,

I have fixed the broken link, thanks!

Regards,
Daniel
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Brian
Top achievements
Rank 1
answered on 22 Jan 2015, 07:34 PM
I'm trying to do this, and using the example above I get an errror message when I try to export all the radgrids that the radgrid has to render correct XHTML in order to export to PDF.
0
Daniel
Telerik team
answered on 27 Jan 2015, 12:26 PM
Hello Brian,

Can you please post your markup here? I will try to find the problem and then provide a solution for you.

Regards,
Daniel
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
walid
Top achievements
Rank 1
answered on 18 Nov 2015, 05:17 PM
hi,
how i can export a css of all rad grid?
Thanks in advance
0
Daniel
Telerik team
answered on 19 Nov 2015, 08:24 AM
Hello Walid,

You can use the Client Export Manager in this case:
ClientExportManager - Export RadGrid

Regards,
Daniel
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
wendy
Top achievements
Rank 1
answered on 21 Jan 2016, 02:59 PM

I try Daniel example for export multiple RadGrid to a single PDF/Excel File. It works when export to excel file, but it only show empty box when export to pdf. Any advices?

 

Thanks a lot,

Wendy

0
Daniel
Telerik team
answered on 26 Jan 2016, 01:59 PM
Hello Wendy,

Please share your code, otherwise it would be hard to guess what happens in your scenario.

Regards,
Daniel
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Cory
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Cory
Top achievements
Rank 1
Pierre
Top achievements
Rank 1
Craig
Top achievements
Rank 1
Brian
Top achievements
Rank 1
walid
Top achievements
Rank 1
wendy
Top achievements
Rank 1
Share this question
or