Click here to Skip to main content
14,880,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, Everyone

I need some help. In my project, I upload a MS word document to database. After that on the another aspx page I need to open that Word document such as viewer and I want to modify the document just like MS word application. Is it possible? If yes I am waiting your helps.

Thanks a lot...
Amir Mahfoozi 21-Nov-11 7:51am
You can convert it to pdf and show it to your clients (as you mentioned you just want a viewer).

No, it's not possible. Not unless you can buy a web based plugin that supports it. Even if Word is present and opens in your browser, you won't get sent back any modifications made locally.
Yes it is very much possible. There are different approaches available (there was an easy method called Custom XML which discontinued by MS due to the i4i petition on their pattern violated by MS.
You can always use/create word-like RichTextBoxEditor written in ASP/Silverlight, save it in database as for example .xps(easy to display but unable to edit (correct me if i'm wrong about edit)) or .xaml(for load and edit in rich TextBox, text formating also can be saved in .xaml file) and convert it to .doc if u want to add download functionality. Even if you won't get all Word's functionality you can get basic text formating like margins, colors, font size etc. Dunno how about ASP.NET but in Silverlight such editors works pretty fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900