-
frame or new window
Hello,
I have made a vb.net application that creates a PDF file in a temp directory on the server. Right now I am using response.redirect to send main broswer to the pdf file (which loads acrobat automatically) but the pdf takes up the whole window.
I would like to have the pdf open in a new window or within a frame inside the main browser window.
I know how to do this with JavaScript and/or DHTML. But I don't know how to do it with vb.net. Or can vb.net change the src property of a <iframe> tag?
Alternately, how could I use vb.net to trigger a JavaScript (and pass arguments) that opens a new window with the pdf inside?
Thanks for any help...
Let me know if this is not clear enough.
- Jake