RadEditor long content printing issue

4 posts, 0 answers
  1. JD
    JD avatar
    2 posts
    Member since:
    Dec 2010

    Posted 15 Dec 2010 Link to this post

    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
  2. Rumen
    Admin
    Rumen avatar
    14028 posts

    Posted 21 Dec 2010 Link to this post

    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.
  3. Nick
    Nick avatar
    17 posts
    Member since:
    Feb 2011

    Posted 04 Aug 2011 Link to this post

    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.
  4. Rumen
    Admin
    Rumen avatar
    14028 posts

    Posted 09 Aug 2011 Link to this post

    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.

Back to Top