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

[Solved] Export to PDF Dynamically

1 Answer 172 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Steven Black
Top achievements
Rank 1
Steven Black asked on 02 Mar 2010, 03:56 PM
Hello,

Is it possible to create a radEditor programmatically, add some content to it and then export the content to a PDF all at once, so the user never actually sees a radEditor on the page?  I'd also want the PDF to open in a new window though.

Thanks.

Steve


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Mar 2010, 01:01 PM
Hi Steve,

You can export the content directly to a PDF file using the new OnExportContent event property of RadEditor.

For your convenience I have attached here an example demonstrating how to export the editor's content as PDF on the server using the new OnExportContent event property of RadEditor. The demo is based on the following blog post:
How To: Export grid to PDF file and show the result using the window

Best regards,
Rumen
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Steven Black
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or