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

Export to PDF not working

1 Answer 94 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Testing
Top achievements
Rank 1
Testing asked on 15 Feb 2014, 05:44 AM
Hi,
I am tried to export the content of editor to pdf but its not generating pdf file,
please check the code.
<asp:Button ID="Button2" Text="Export RadEditor content to PDF" runat="server" OnClick="Button2_Click"></asp:Button>
    <br />
    <br />
    <telerik:RadEditor ID="RadEditor1" runat="server" ContentFilters="DefaultFilters,PdfExportFilter">
         <ExportSettings OpenInNewWindow="true">
         </ExportSettings>
         <Content>
          Test pdf content
         </Content>
    </telerik:RadEditor>
.Cs file
protected void Button2_Click(object sender, EventArgs e)
{
    RadEditor1.ExportToPdf();
}

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 19 Feb 2014, 02:29 PM
Hi Ganesh,

Please check the following online demo that demonstrates exporting the content of RadEditor to PDF and use it as a reference for utilizing the same functionality on your end: http://demos.telerik.com/aspnet-ajax/editor/examples/pdfexport/defaultcs.aspx.

If you are having difficulties with the example from the demo, I will need to know the differences between your actual setup and the demo in order to determine what could be causing the problem at hand.

Regards,
Slav
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Testing
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or