Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have list of file it is doc, pdf ,image ,notepad, exel any i want to open in browser.
how can i do that. is this any plugin or how can i do this task..!!

What I have tried:

i have list only and now trying to open ....in browser
Posted
Updated 2-Aug-16 0:50am
Comments
What have you tried so far?
Jaydeep Shah 2-Aug-16 7:24am    
Tadit dash..i retrive files in listing..now i want to open it.in browser.but i have no idea how to do.
i serch for it..i found fancybox. for open file in browser.but it's not working for word file..(accroding to users comment mention). so have you any solution for it ??

1 solution

The user needs some kind of viewer installed for any document you want to show. If I don't have Excel installed then how can my computer know how to interpret an xls file and what to show visually?
 
Share this answer
 
Comments
Jaydeep Shah 2-Aug-16 7:21am    
all software are installed allready.
but problem is that how to open it in browser .. i am trying to do in mvc5, jquery.
F-ES Sitecore 2-Aug-16 8:57am    
Just set the location of the browser to the document you want to show and the browser will either show it if it can or launch the appropriate viewer on the user's machine.
Jaydeep Shah 5-Aug-16 6:52am    
microsoft word file is not open in that way...pdf,image are open ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900