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

ExportToPDF Formatting Issues (Ignores CSS styles)

2 Answers 178 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 22 Feb 2013, 08:00 PM
I've been having issues with RadEditor exporting a very simple and basic version of the actual HTML I've added.

I've attached 2 screen shots. 
1. How it appears in a browser when launched from Dreamweaver
2. The exported PDF

It's really frustrating that the HTML code has to be so specific and that it ignores all of the formatting (inline styles and css styles)

Any tips for getting exported PDFs to use CSS styles?
Jason

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 25 Feb 2013, 05:00 AM
Hi Jay

The third party HTMLtoPDF converter that RadEditor uses to export the HTML content to PDF does not offer support for external CSS files and it does not render the classes specified in the class attributes of the HTML elements.
It is possible currently to export only inline style attributes.

Thanks
Princy
0
Rumen
Telerik team
answered on 25 Feb 2013, 10:07 AM
Hello Jason,

You can try to integrate another PDF exporter as shown in the following blog post: Using an external library for the export to PDF functionality in Telerik’s ASP.NET Editor.

All the best,
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.
Tags
Editor
Asked by
Jay
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rumen
Telerik team
Share this question
or