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

SectionBreakType.Continuous

3 Answers 67 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
Ing. Jesus Manuel
Top achievements
Rank 1
Ing. Jesus Manuel asked on 17 Jan 2017, 08:08 PM

I'm working with radrichtexteditor and I'm trying to insert section breaks, the problems is that I need the next section to star on the same page, I don't have this option, as I only have NextPage,EvenPage and OddPage. Please let me know if there's a way to accomplish this.

My versions
UI for WinForms is 2015.2.728
radrichtexteditor is v4.0.30319

Thank you.

 

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 18 Jan 2017, 12:12 PM
Hi Jesus,

Thank you for writing.

The overload without parameters of the InsertSectionBreak method of RadRichTextEditor inserts a section break at the current caret position. You can position the caret using the exposed API: http://docs.telerik.com/devtools/winforms/richtexteditor/features/positioning.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Ing. Jesus Manuel
Top achievements
Rank 1
answered on 25 Jan 2017, 04:50 PM
I tried to call that method without parameters before posting here, but the kind of section break inserted is NextPage, so I still have this problem. If anyone has another way to accomplish this I will be very thankful.
0
Hristo
Telerik team
answered on 26 Jan 2017, 12:37 PM
Hi Jesus,

Thank you for writing.

You need to call the method and pass a SectionBreakType.Continuous parameter. This way the section break will be inserted at the current caret position and will continue on the same page.

This functionality was introduced with our R3 2016 release. In order to benefit from it, you need to upgrade your controls.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
 
Tags
RichTextEditor
Asked by
Ing. Jesus Manuel
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Ing. Jesus Manuel
Top achievements
Rank 1
Share this question
or