Hi,
try this code to open pdf files in browser after uploading
Response.Clear();
Response.AddHeader("content-type", "application/pdf");
Response.WriteFile(Server.MapPath("~/testingimages/sample2.pdf"));
Response.End();
Here you've to mention the content type .
now all browsers supports pdf files to display directly
All the Best