First of all, you should make sure Acrobat plugin is installed in your browser. You would have to use correct Content Type :
Response.ContentType = "application/pdf";
Response.AddHeader("content-length",contentBytes.Length.ToString());
Response.BinaryWrite(contentBytes);
If you just need to open it in the browser totally, you can also use Respose.Redirect("yourpdffile.pdf") which will automatically take the content type. You should also look into the KB article of Microsoft : http://support.microsoft.com/kb/307603/EN-US/[^] Hope this one will help you. :rose:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript