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

Scroll on Top Automatic

2 Answers 155 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Missing User
Missing User asked on 13 Sep 2012, 12:24 PM
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 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 17 Sep 2012, 01:49 PM
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 >>
0
Missing User
answered on 17 Sep 2012, 01:59 PM
thanks so much
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Missing User
Answers by
Svett
Telerik team
Missing User
Share this question
or