Go to the next page.

3 posts, 0 answers
  1. Tomasz
    Tomasz avatar
    2 posts
    Member since:
    Aug 2017

    Posted 09 Aug 2017 Link to this post


    I have application - ss in the file - text editor;

    Writes text on one page "1" and when it reaches the designated "red" then the text goes to the second texteditor "2".

    How to do it?

    Please, help me! Please

  2. Tomasz
    Tomasz avatar
    2 posts
    Member since:
    Aug 2017

    Posted 09 Aug 2017 Link to this post

    If you can not do that - question about richtextbox with windows forms.

    I wanted to ask how can I restrict typing in richTextBox. I want to make a page like in Word that after some paragraph goes to the next page, but I do not know how to do it, because it depends on what font.I do not ask for the ready code, though how difficult it is to model, but hints on how.
    I greet and count on understanding.

  3. Hristo
    Hristo avatar
    1508 posts

    Posted 09 Aug 2017 Link to this post

    Hello Tomasz,

    Thank you for writing.

    You can make use of the positioning API and move the cursor to a different place inside your document. For the purpose, you can handle the PositionChanged event exposed by the RadDocument.CaretPosition object: 
    this.radRichTextEditor1.Document.CaretPosition.PositionChanged += CaretPosition_PositionChanged;

    You can also consider building your document with bookmarks, this way you could easily navigate to them: http://docs.telerik.com/devtools/winforms/richtexteditor/features/bookmarks.

    Please also check the following threads discussing a similar scenario: 
    I hope this helps. Should you have further questions please do not hesitate to write back.

    Progress Telerik
    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