1
Answer

How to view the excel file using asp.net c#?

Raja

Raja

8y
211
1
 i upload the excel file in file upload button.and click the show button to view the excel means pop up view of excel (if attached excel file in gmail and view the excel file in pop up window )how to do it.
Answers (1)
0
Nitin Sontakke

Nitin Sontakke

NA 11.7k 2.2k 8y
Showing any type of the file is a function, very specific to the browser and I don't think you can do much about it.
 
For example, many of the browsers will show text files, xml files, pdf files within browser window. This all depends on browser plug-ins.
 
Furthermore, please be also aware that an end user can turn of showing contents within the browser window by changing the preferences. In this case, the file will prompted for download to end user.