arge  raju

arge raju

  • NA
  • 28
  • 937

How to display and edit word document on the view in MVC4

Oct 26 2015 8:57 AM
Hi Experts,

As per client requirement I want to display , edit the word document on the view and I want to save modified word document into the Database.

1) I m displaying word document to HTML TextArea control after converting word document to HTML string using OPENXML DLL , I m able to display word document text as it is in the HTML Textarea control but I m losing formatting and alignments of text.

I want word document content alignment and formatting should same as it is in the word document when it will render in the TextArea control.

I m not able achieving formatting and alignment of word document content .


How Can I do it using OPENXML only (without using Microsoft Word interop.) OR Is there any other approach using which atleast we can display it on the view.


2) I want to edit word document after displaying . How can I do it


Please help out with these issues. I will appreciate you. Thanks in advance.

Answers (1)