I need to open a pdf file with form texbox included on a form. I use this code to open the pdf file.
`StreamReader streamReader = new StreamReader(GridView1.Rows[index].Cells[1].Text);
Stream stream = streamReader.BaseStream;
BinaryReader binaryReader = new BinaryReader(stream);
byte[] sendbyteArray =binaryReader.ReadBytes(Convert.ToInt32(binaryReader.BaseStream.Length));
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Type", "application/pdf");
Response.AddHeader("Content-Disposition", "inline");
Response.BinaryWrite(sendbyteArray);
Response.End();`
which is working. I need to add a textbox above the pdf once the pdf file showed. is this possible? please advice. thanks
As per my knowledge this is not possible but if you share what is the purpose of that textbox we can think of another solution.