Posted on 20/05/2008 20:09:12
I think you should be able to clear the response buffer (Response.Clear()) and the BinaryWrite your PDF document if that's what you're trying to achieve. But please note that you have to modify the content type and so before. There are many examples on this on google:)
Please note that if you're using ssl, theres a bug in IE with this way of sending the response stream. I can't remember the details, but I ran in to this problem some years back when using this technique for downloading PDF documents.