I have a customer that is doing a form submission from a PDF but the PDF response from the server is opening a new Reader Window instead of replacing the current PDF with the new response. The submission is done in a form inside Reader, outside of the Browser.
This is the response they send back to Reader that causes another Reader instance.
Dim content As Byte() = IO.File.ReadAllBytes("POD.pdf")
Response.Buffer = True
Response.Clear()
Response.ContentType = "application/pdf"
Response.OutputStream.Write(content, 0, content.Length)
Response.End()
Form is attached.
With the exception of some of the known issues with Acrobat, any ideas what may be causing the opening of a new Reader instance?