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

[Solved] Loading *.doc files into Editor.Content

1 Answer 139 Views
Editor
This is a migrated thread and some comments may be shown as answers.
steve callahan
Top achievements
Rank 1
steve callahan asked on 16 Jul 2009, 02:56 PM
We have a project which requires the loading of *.doc and *.xls files into an editor and then saving the changes to a file. We have looked at FCKeditor and CuteEditor which do some of what we need but will not load *.doc files directly without cutting and pasting. When we load a *.doc file into RadEditor.Content it loads as a text file and shows all the *.doc symbols. How can we load a *.doc file into the RadEditor where it retains the look and feel of the Word document.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Jul 2009, 08:44 AM
Hi Steve,

RadEditor is more or less a front-end to the web browser’s rich text editing engine (which naturally uses HTML). Therefore it is not possible to have anything different than HTML (XHTML) in the editor content area. If you want to load doc content in the editor then you should firstly convert it to valid HTML/XHTML content and after that you will be able to load it in the editor via the RadEditor's Content property.

Our suggestion is to search in Google for some third party DOC to HTML converters that will convert the doc format to HTML.


Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
steve callahan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or