Open/handle Word documents like SharePoint

Could anyone point me in the right direction when it comes to handling Word documents (.docx) on the server using asp.net.

I know I can write to and read the .docx document using the API provided.

But I would like to implement this like SharePoint does it. The user browses the web site, he is logged in, then chooses to make a new Word document in a folder, then the Word document downloads and opens locally. Then I would like the user to be able to save the document back to the server.

Alternatively, is there any good components for reading/writing Word documents in the browser. I have tried using the Telerik editor component without any luck.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

First: About Sharepoint & Word: Sharepoint is using a protocol called WebDAV to provide this.

Afaik is WebDAV a standard protocol included with IIS (Install Windows Components). Windows can talk with WebDAV like it’s some mounted drive, and therefore Word can handle .doc files that are served from there. To communicate with the WebDAV instance from ASP.NET you can use http://www.independentsoft.de/webdav/index.html.

I guess redirecting the user to the Word doc on the WebDAV server should get it working for the user, but I’m not sure about that. Never actually implemented a WebDAV solution.


Good editor: If you have a small set of users, you should have a look at xstandard, I found that by far the coolest rich text editor available. Yet it works with Java/ActiveX, so your users should install the component at first, but it supports image drag-drop etc. I have never seen a native in-browser editor that gives me a good experience (Telerik came closest 2 years ago).

Method 2

You can integrate with the Zoho writer api http://writer.zoho.com/home?serviceurl=/index.do


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x