SectionBreakType.Continuous

4 posts, 0 answers
  1. Ing. Jesus Manuel
    Ing. Jesus Manuel avatar
    16 posts
    Member since:
    Apr 2013

    Posted 17 Jan 2017 Link to this post

    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.

     

  2. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 18 Jan 2017 Link to this post

    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.
  3. Ing. Jesus Manuel
    Ing. Jesus Manuel avatar
    16 posts
    Member since:
    Apr 2013

    Posted 25 Jan 2017 Link to this post

    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.
  4. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 26 Jan 2017 Link to this post

    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.
     
Back to Top