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

Using Telerik's control to Edit MS Word File Online

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zia
Top achievements
Rank 1
Zia asked on 20 Oct 2016, 04:00 PM

Hi,

Please let me know can I use Talarik's control to edit MS Word file online? The one I tried with online demo at: https://demos.telerik.com/aspnet-ajax/editor/examples/ms-word-like-experience/defaultcs.aspx disturbed the format of MS Word file and also remove the forms fields.

I want my users to edit MS Word file containing Form Fields and save them back. Is it possible with Telerik  in Asp.Net ?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Oct 2016, 08:26 AM

Hi Zia,

The demo lets you uplad a document and imports it RadEditor through its built-in feature that uses the Telerik Document Processing libraries. You can inspect the demo code and convert the file with other tools that fit your needs better and set the resulting HTML to the Content property of the RadEditor.

As for form fields - RadEditor does not support such a feature, there are two similar things I can suggest:

  • Consider adding <input> elements in the HTML with your own logic. Note that the browser is likely to not update/populate them when the end user writes something in them. This is a browser behavior we cannot control.
  • Consider using something similar to the Mail Merge code library sample so you can change areas/fields in the content.

Regards,

Marin Bratanov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
General Discussions
Asked by
Zia
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or