Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jan 17, 2007 06:15 AM|LINK
first try to remove the Response.Write() and use ClientScript.RegisterStartupScript(GetType(String),
"Test", "window.open('displayPDF.aspx?FileName=' & fullUploadPath)")
because the first one messes up the HTML code.
concerning the formatting on your original page, try to check that you are not changing it's alignment as the code provided above worked good for me.