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

How to load a file from drive into RichTextBox using button click

1 Answer 164 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Akoy
Top achievements
Rank 1
Akoy asked on 28 Jul 2013, 06:11 PM
Using VB.NET 2012, i used this code to display contents of "anyfle.rtf" on the RichTextBox window.
             
               Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
               RichTextBox1.LoadFile("D:\anyfile.rtf", RichTextBoxStreamType.RichText)
               End Sub

but i don't know how to do it using RadRichTextBox.
Please help. Thanks.

1 Answer, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 31 Jul 2013, 04:58 PM
Hello Akoy,

Thank you for writing.

You can read how to import in RadRichTextBox in the following documentation articles :

I hope this helps.

Regards,
Anton
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Akoy
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or