I am trying to read and open a pdf file insde the current browser window but what it is doing is instead of opening the file inside browser window it is opening that file in seprate acrobat reader instance. I am using the follwoing code to open the file
Response.AddHeader("Content-disposition", "inline; filename=Form.pdf");
Response.AddHeader("Content-Length",MS.Length.ToString());
Response.ContentType = "application/pdf";
Response.OutputStream.Write(pdfFlat.GetBuffer(), 0, (int)MS.Length); Go to the complete details ...