I have a requirement where in need to display the Pdf / Word doc(any version) or excel in the browser. Something similar to the GMAIL feature. How can I achieve this?
I am using Asp.net with code behind as C#. Application is in 2008
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
Try:
How To Write Binary Files to the Browser Using ASP.NET and Visual C# .NET
It covers, PDF, Word, Excel and a variety of image file formats.
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