Telerik's RadRichTextBox control allows you to display rich text content in your Silverlight application. It can hold formatted text, images, tables, hyperlinks etc. to provide a visual look like Microsoft Word document. To use a simple RadRichTextBox control, you will need reference to the following Telerik assemblies: Telerik.Windows.Controls, Telerik.Windows.Data and Telerik.Windows.Documents in your WPF/Silverlight project. The control library not only allows you to display rich text content, but also helps you to export the same to different file formats so that you can save it to file or database. I was working on an application which has the Microsoft Word kind functionality and recently the client asked to add functionality to export the content to HTML, PDF, DOCX format in addition to save it in the database as an image. Telerik library helped me a lot to implement the same in that application with just a few lines of code. The library already exposed different APIs to handle different file formats in order to export the content. In this article I will cover how the Telerik's RadRichTextBox helped me exporting the rich text content added by user to a file of various formats like HTML, PDF, RTF, DOCX, XAML and TXT.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,RadRichTextBox,Silverlight,WPF