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

RadEditor Export to PDf having simple table not working

0 Answers 18 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Deepa
Top achievements
Rank 1
Deepa asked on 16 Feb 2017, 07:24 PM

When I export the RadEditor's content having table in it, it doesn't the table. Here is the simple HTML from the HTML tab of the editor (I did not with HTML and this is auto generated HTML when I place the table.)

<div>
<div>
<table>
    <tbody>
        <tr>
            <td>&nbsp;1</td>
            <td>2&nbsp;</td>
        </tr>
    </tbody>
</table>
<br />
Test
</div>
</div>

 

I am using Telerik 2011.2.712.40. Below is the attributes set for the editor in ASPX page, 

<telerik:RadEditor ID="radEditor1" runat="server" Skin="Default" Height="500px" Width="100%"
                                OnClientSelectionChange="OnClientSelectionChange" AutoResizeHeight="false" ContentFilters="DefaultFilters,MakeUrlsAbsolute"
                                OnClientCommandExecuting="OnClientCommandExecuting" NewLineMode="Div"  >
                                <ExportSettings FileName="exporttopdf" OpenInNewWindow="true" Pdf-PageBottomMargin="1.0 cm"
                                    Pdf-PageLeftMargin="1.5 cm" Pdf-PageRightMargin="1.5 cm" Pdf-PageTopMargin="1.0 cm">
                                </ExportSettings>

I am using the method, radEditor1.ExportToPdf(); in CodeBehind.

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Deepa
Top achievements
Rank 1
Share this question
or