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

[Solved] Pdf Formatting remove export from RadEditor.

1 Answer 131 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 15 Sep 2009, 01:31 PM
Hi,

I am using radeditor.

When i export the radeditor content to pdf.
It show me the pdf without formatting.
In RadEditor for every newline it create br tag.
But while exporting to pdf it remove all the br tag.

The Format suppose i type in radeditor as

" Hi,

 To Acs,

      Txy........


Regards,
Xyz "


while exporting to pdf it show me the  as below.

" Hi,
 To Acs,
      Txy........
Regards,
Xyz "


So how can i maintain the same formatting while exporting to pdf ?

Thanks.


 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Sep 2009, 09:10 AM
Hi Hrushikesh,

The Export to PDF functionality of RadEditor could render in the produced PDF document only paragraph <p> tags, but not <br/> tags. That is why my recommendation is to set the RadEditor's NewLineBr property to false. Therefore the editor will insert a <p> tag when the Enter key is pressed and you should not experience this problem.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or