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

Notes cutoff when printing

4 Answers 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Tim asked on 02 Nov 2020, 02:18 PM

I have a RadEditor control on a page with several lines of notes. All lines appear on the page, but when the page is printed some lines are cutoff at the bottom. Are there any RadEditor or CSS settings that will resolve this?

<telerik:RadEditor
    ID="reNotes" runat="server"
    EditModes="Preview" ContentAreaMode="Div" NewLineMode="P"
    ToolsFile="~/App_Data/RadEditor/Tools.xml" ToolbarMode="ShowOnFocus"
    AutoResizeHeight="true" Height="100%" Width="100%"
    Content='<%# Bind("Notes") %>' ContentFilters="RemoveScripts,StripCssExpressions,StripDomEventAttributes"
    OnClientLoad="RadEditorOnClientLoad">
</telerik:RadEditor>

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Nov 2020, 04:11 PM

Hi Tim,

Have you tried to print the RadEditor content via the provided Print button on its toolbar?

This way the whole RadEditor content will be printed out without including the content of the page placed outside of RadEditor. For your convenience I recorded and attached a video demonstration.

Other approaches are to use:

  • the solution here
  • or RadClientExportManager to export the RadEditor content - see here.

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Rumen
Telerik team
answered on 02 Nov 2020, 04:12 PM

Here is the video.

 

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Tim
Top achievements
Rank 3
Iron
Iron
Iron
answered on 03 Nov 2020, 11:37 AM

Hi Rumen,

Thanks for your reply. Yes, I tried printing from the Print button on the toolbar, but the notes were still cutoff.  In my case I don't want to print the RadEditor separately from the other content on the page.

I looked at the approaches you mentioned and was able to get one to work. I have 65 RadEditor controls scattered across 11 pages with this issue. I eventually found that just changing the RenderMode to Classic fixed the issue.

Thanks for your help,

Tim

 

0
Rumen
Telerik team
answered on 03 Nov 2020, 01:07 PM

I am glad that you found a solution suitable for your scenario! Do not hesitate to drop us a line in case anything else pops up in the future.

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Editor
Asked by
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Rumen
Telerik team
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or