How to preview doc type documents

1 Answer 291 Views
RichTextBox
汉青
Top achievements
Rank 1
汉青 asked on 19 Nov 2021, 02:20 AM | edited on 19 Nov 2021, 02:21 AM
I use RadRichTextBox to preview word files. Those with the suffix .docx can run normally, but some .doc files cannot be previewed normally.Is there a solution?

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 23 Nov 2021, 07:19 AM

Hello,

RadRichTextBox currently doesn't provide built-in functionality for importing .doc files and we have logged a request about that on our public portal: RichTextBox: Support for .doc documents. You can use the linked item to vote for the implementation of the task as well as subscribe to it if you would like to be notified about status changes on the task.

What I can suggest at this point is to use the example linked in the public request shared above or convert the document to DOCX using the format provider classes provided by WordsProcessing: DocFormatProvider and DocxFormatProvider.

Hope this is helpful.

Regards,
Tanya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
RichTextBox
Asked by
汉青
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or