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

2 posts, 0 answers
  1. Akoy
    Akoy avatar
    1 posts
    Member since:
    Jul 2013

    Posted 28 Jul 2013 Link to this post

    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.
  2. Anton
    Admin
    Anton avatar
    167 posts

    Posted 31 Jul 2013 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top