Scroll on Top Automatic

3 posts, 0 answers
  1. Vittorio
    Vittorio avatar
    2 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

    After insert text 
     radRichTextBox1.Document = new RadDocument();
                radRichTextBox1.Document.Insert(radListControl2.SelectedItem.ToString(), radRichTextBox1.Document.Style)

    the selection go end of text, how to select the start text?
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 17 Sep 2012 Link to this post

    Hello Vittorio,

    Thank you for writing.

    You can move to the first position in RadRichTextBox by using the following code snippet:
    this.radRichTextBox1.Document.CaretPosition.MoveToFirstPositionInDocument();

    I hope this helps.

    All the best,
    Svett
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Vittorio
    Vittorio avatar
    2 posts
    Member since:
    Sep 2012

    Posted 17 Sep 2012 Link to this post

    thanks so much
Back to Top