Link to home
Start Free TrialLog in
Avatar of esc7
esc7

asked on

Force PDF to open in browser

I have a web application which creates PDF reports dynamically using ceTe' s PDF Generator.  These PDF's are saved to the server and called with Response.Redirect(HttpContext.Current.Request.ApplicationPath + "/subdir/pdf/" + somename + ".pdf");

It seems that when the user has the full version of Adobe installed the it opens in Adobe Acrobat and if the user has only the reader installed then it opens in Internet Explorer.

Is there a way to force the PDF document to open in the browser?
ASKER CERTIFIED SOLUTION
Avatar of prajeebkumar
prajeebkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of esc7
esc7

ASKER

I will try your suggestion and get back to you.  Thanks for the response.