Developer forum

Forum » Development » pdf content via DW frontend ?

pdf content via DW frontend ?


Reply

Hi

 

I have a module which return pdf-content. Is it possible to return that via Dynamicweb.Frontend.? ?

 

 


Replies

 
Reply

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.

 

You must be logged in to post in the forum