Login
Register
Close
Articles
Technology News
All Articles
Submit Guest Post
Tools & Utilities
Code Converter
Forum
Learn
Tutorials
Interview Experience
Practice Tests
Freelancers
Services
Software Development
SEO & Digital Marketing
IT Companies
Login
Register
Articles
Technology News
All Articles
Submit Guest Post
Tools & Utilities
Code Converter
Forum
Learn
Tutorials
Interview Experience
Practice Tests
Freelancers
Services
Software Development
SEO & Digital Marketing
IT Companies
Discussion Forums
.NET
ASP.NET
You must
Sign In
to post a response.
Category:
ASP.NET
13 Jul 2016 06:18
Amol Kothawade
Joined:
22/09/2014
Level:
Bronze
Points:
26
Points:
1
Show PDF file in browser without showing pdf url
Show PDF file in browser without showing pdf url. Means by pressing F12 browser shows pdf url.
Client don't want to show that url.
#767159
13 Jul 2016 17:56
srirama
Joined:
20/03/2013
Level:
Gold
Points:
4176
Points:
0
Url rewriting you can do it.
SRI RAMA PHANI BHUSHAN KAMBHAMPATI
#767160
13 Jul 2016 20:56
Prasad kulkarni
Joined:
13/06/2007
Level:
Gold
Points:
21327
Points:
3
you can do it by creating a virtual directory, I mean create a virtual directory that will pointing to PDF path and when you want to display that file in browser, show it with the help of HTTP path
so the you need to code it like
Response.Redirect("Http://ipaddress/virtualDirName/test.pdf");
ask if you have any doubts
hope it helps
Thanks
Koolprasd2003
Editor, DotNetSpider MVM
Microsoft MVP 2014 [ASP.NET/IIS]
#767171
14 Jul 2016 23:02
Susan Wong
Joined:
03/07/2016
Level:
Bronze
Points:
16
Points:
0
check this article -
http://www.c-sharpcorner.com/UploadFile/1583f2/view-pdf-files-from-web-browser-in-C-Sharp/
Sign In
to post your comments
Submit New Thread
Return to
Return to Discussion Forum
Top Contributors
Today
Last 7 Days
more...