Last post Dec 15, 2011 01:32 AM by kedarrkulkarni
Dec 15, 2011 01:20 AM|dotnet16|LINK
I am getting the microsoft office file in my controller as filestreamresult.That will open up in the
respective office program on clicking a hyperlink.Now I have a requirement as to display the file content without using the microsoft office.How can this be achieved?
Dec 15, 2011 01:26 AM|bruce (sqlwork.com)|LINK
you will to need to get a document converter library to convert from the office format to html. if you have a sharepoint server, they have one builtin.
Dec 15, 2011 01:32 AM|kedarrkulkarni|LINK
you have some options...
store file on u r server first... read its content... and generate html from doc file content and display it to user... very messy... yaa
u can use some online document viewers.... (there are many paid services u can utilise... ) there is zoho viewer
save document in server first... and call zoho viewer
read this for more info
simillary there is also google's online document viewer
some other document viewers disussed here
u will not have to worry about what browser user is having.... whether he has office installed on not etc..
hope this helps...