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

Implemet the paste from word functionality in Code behind.

3 Answers 66 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ashish
Top achievements
Rank 1
Ashish asked on 18 Jan 2012, 12:00 PM

Hi Telerik Team,

There is Feature available in Editor when we  click the "Paste from Word" the content is copied in to Editor but i want in Code behind.
Reason being that , our client want that when click any word document(.doc,.docx) that content is available in Editor with formatted data display.Once he Edits/Update the data that Content is save in to the Word file.

Please help

3 Answers, 1 is accepted

Sort by
0
Ashish
Top achievements
Rank 1
answered on 19 Jan 2012, 10:34 AM
Can anyone help?
0
Rumen
Telerik team
answered on 20 Jan 2012, 02:04 PM
Hi,

RadEditor is a HTML/XHTML editor and it could load only HTML or plain text content. If you try to load directly MS Word document in RadEditor the content won't be HTML and it will be not rendered as expected. To be able to achieve your scenario you should use some MS libraries or DOCtoHTML / DOCXtoHTML third party libraries which will convert the Word data to HTML content which you can load through the Content server property of RadEditor. To save the content to a Word file you should again you some MS library / third party control which will convert the produced HTML content to Word format.

Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
kamii47
Top achievements
Rank 1
answered on 26 Jun 2013, 07:36 AM
This feature should be some how built in and expose via some interface.Editor is good and reatin almost most of the content ditto like original but for automation there is so much need of load from file option.
Tags
Editor
Asked by
Ashish
Top achievements
Rank 1
Answers by
Ashish
Top achievements
Rank 1
Rumen
Telerik team
kamii47
Top achievements
Rank 1
Share this question
or