Hi Telerik,
exists somewhere a list of the tags, they are not able to convert to pdf?
For example the <table> tag seems not working.
Thanks and best regards,
Andreas
1 Answer, 1 is accepted
0
Rumen
Telerik team
answered on 19 Dec 2008, 12:57 PM
Hi Andreas,
Currently, the export to PDF mechanism does not offers support for table elements.
We do not have a list of all tags that are not converted and rendered in the produced PDF file, but you can use the following workaround to export the <table> elements:
In order to export a table to PDF, your end users should make sure that both the width of the table and the colgroup element are specified.
Please, note that the number of <cols /> in your <colgroup> should be equal to the number of your columns. Please, examine my example below:
<table style='vertical-align: top;'width='500px'>
<colgroup>
<col />
<col />
<col />
</colgroup>
<tbody>
<tr>
<td>
CompanyName
</td>
<td>
ContactName
</td>
<td>
ContactTitle
</td>
</tr>
</tbody>
</table>
The output may be broken if there is no conformity between the cols and your columns.
Another solution is to search for some good Html2Pdf exported in Google and convert the editor's HTML content to PDF after obtaining it via the Content server property of RadEditor. You can see the following KB article on the subject: Converting RadEditor HTML to PDF format.
Best regards,
Rumen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.