How to auto scroll to end

3 posts, 0 answers
  1. Myoungsu
    Myoungsu avatar
    7 posts
    Member since:
    Jul 2015

    Posted 13 Sep 2015 Link to this post

    I am developing log viewer using richtexteditor.

    I do input the function whenever adding text on richtexteditor, it shows lastest part on there and cursor is located bottom on the control.

    How to do it on richtexteditor.

     

    And if you have more convienient choice to develop log viewer. let me know.

     

  2. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 15 Sep 2015 Link to this post

    Hello Myoungsu,

    Thank you for writing.

    You can use the following code to scroll to the bottom:
    private void radButton1_Click(object sender, EventArgs e)
    {
        radRichTextEditor1.RichTextBoxElement.VerticalScrollBar.Value = radRichTextEditor1.RichTextBoxElement.VerticalScrollBar.Maximum;
    }

    Please let me know if there is something else I can help you with. 
     
    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Myoungsu
    Myoungsu avatar
    7 posts
    Member since:
    Jul 2015

    Posted 17 Sep 2015 in reply to Dimitar Link to this post

    It works well. Thanks a lot.
Back to Top