TD % width not followed on export to PDF

2 posts, 0 answers
  1. Miriam
    Miriam avatar
    9 posts
    Member since:
    Jul 2012

    Posted 15 May 2012 Link to this post

    I'm using RadControls for ASP.NET AJAX Q2 2011 SP1. When I export to PDF all columns are of equal widths. I read on some forum threads to add colgroup but still not working.

     Please help.

    <table border="1" cellspacing="0" cellpadding="2" width="100%" style="font-family: Lucida Sans; font-size: 9pt;">
                       <colgroup span="8">
                                    <col span="1" width="49%" />
                                    <col span="7" width="7%" />
                                </colgroup>
                        <tr style="text-align:center;">
                            <td style="width:49%; white-space:nowrap;">PRODUCT NAME AND CLASSIFICATION</td>
                            <td style="width:7%; white-space:nowrap;">GROSS </td>
                            <td style="width:7%; white-space:nowrap;">NET </td>
                            <td style="width:7%; white-space:nowrap;">AMOUNT</td>
                            <td style="width:7%; white-space:nowrap;">QUANTITY</td>
                            <td style="width:7%; white-space:nowrap;">STORE</td>
                            <td style="width:7%; white-space:nowrap;">CODE</td>
                            <td style="width:7%; white-space:nowrap;">SHELF</td>
                        </tr>
                    </table>
  2. Rumen
    Admin
    Rumen avatar
    14421 posts

    Posted 15 May 2012 Link to this post

    Hello,

    The Export to PDF filter of RadEditor  does not support width values in percents. This is limitation of the third party exporter tool. Unfortunately, this is a complex task, the implementation of which will require huge efforts and time that we can use to implement new controls or fix more important bugs. That is why this problem is not logged with high priority and I could not provide a firm estimate when it will be fixed.

    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top