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

RadEditor long content printing issue

3 Answers 72 Views
Editor
This is a migrated thread and some comments may be shown as answers.
JD
Top achievements
Rank 1
JD asked on 16 Dec 2010, 12:24 AM
When the content inside a RadEditor in a form is more than one letter page long is not printing properly, creating one or more page breaks before printing the content. I guess it has to be with the IFrame. What can I do to print the content continuously as the rest of my form?

Thanks,
JD

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Dec 2010, 11:46 AM
Hi JD,

Are there any heading or ordered / unordered lists elements in the printed content? If you have such elements in the content, please, note that they have a default  page-break-before: always; style setting applied. You can find this information in the following article: Default Style Sheet for HTML 4.

To fix the problem overwrite these styles by importing an external css file through the CssFiles property and put the following classes in it:

@media print {
  h1            { page-break-before: avoid}
  h1, h2, h3,
  h4, h5, h6    { page-break-after: avoid}
  ul, ol, dl    { page-break-before: avoid }
}

If the above does not work try to replace the avoid value with none !important.

If you are unable to fix the problem, please provide sample content for test and screenshots that show the problem.

Greetings,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Nick
Top achievements
Rank 1
answered on 04 Aug 2011, 11:54 AM
This solution not working for me, my document still printing only one page can you show me a work around how to implement this particular fix on the rad editor so that it works. If not please give some other solution.
0
Rumen
Telerik team
answered on 09 Aug 2011, 01:37 PM
Hi Nick,

Are you able to reproduce the reported behavior in the Default Example of RadEditor and under which browser? Please, also provide HTML content along with steps which demonstrate how to reproduce the printing issue.

All the best,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
JD
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Nick
Top achievements
Rank 1
Share this question
or