Hi, I have a web page using asp.net and c# backend. The webpage has a button on it which when pressed should open a Microsoft Word document in MS Word. The word document is stored in a SharePoint 2007 document library.
At present, I am simple using a
Response.Redirect("URL of word document in library");
code, to open the document. This works fine, but it is not ideal, since once the user has read the document and closed it, they should then press another button on the original web page which should do some other job. However, since there has been a postback and the response redirect has fired, none of the buttons on the original web page now function and the user has to do a refresh of the page to load all the controls again.
Is there an easy way to open the document in word directly without the response redirect?
I have looked into using the Word COM object, but can't find it in Visual Studio to add as a ref ...
Go to the complete details ...