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

Display formatted text for viewing only

1 Answer 56 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Kamal Mostofi
Top achievements
Rank 1
Kamal Mostofi asked on 31 Aug 2011, 10:32 PM
Hi,

I'd like to display the formatted text to clients. The text stores in a database. The text is there for reading only.

Does anyone know how? I can't get the text displays in the Richtextbox control

thanks,
Kamal

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 02 Sep 2011, 03:31 PM
Hi Kamal Mostofi,

In order to display your text you need first to import it in RadRichTextBox. The import operation uses data providers for different data formats. You can get more information about import and export from this article: Import/Export. If you want to understand better our data providers you can read this article as well: Data Providers.

You can achieve the read only effect with setting "IsReadOnly" property of RadRichTextBox to true. This can be done in XAML and in code behind.

If you have further questions do not hesitate to contact us.

Regards,
Mihail
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
RichTextBox
Asked by
Kamal Mostofi
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or