go to aspx page you are using for downloads and check to see if in html view
you see any html / aspx elements (if yes remove them)
because when you call Response.Flush they will not be cleared unless you
have default Buffer = true applicable across
a better option for downloads is to use ashx... it httphandler you... they
do offer a performance boost of around 5 - 10%
--
Regards,
HD
Once a Geek.... Always a Geek
"Martin Knopp" <ma**********@fecher.at> wrote in message
news:ti********************@news.chello.at...
I return the PDF with proper contenttype
code-behind in Page_Load event (C#) looks approximately like this:
Response.Clear();
Response.ContentType = "appilcation/pdf";
Response.WriteFile( <local path to PDF document> );
Response.End();
Regards,
Martin Knopp
fecher GmbH
http://www.fecher.at
"George Ter-Saakov" <no****@hotmail.com> schrieb im Newsbeitrag
news:Oe**************@TK2MSFTNGP11.phx.gbl... How do you display a PDF?
Do you return the PDF document with proper content type?
Or are you displaying the HTML with embeded PDF?
George.
"Martin Knopp" <ma**********@fecher.at> wrote in message
news:GG*********************@news.chello.at... > I have a site running under SSL. Works well so far but there is one
> ASPX
> page which returns a dynamically created PDF file using
Response.WriteFile. >
> When the browser requests this ASPX page via https (SSL) it displays a
> message that secure and non secure items are to be displayed (free
> translation from german so it might not be the exact wording in english). > When I say no (means non secure items are not displayed) my PDF still
> is
> displayed - so it seems thats not the one causing the message.
>
> Any ideas whats wrong or even better how to solve it?
>
> Regards,
> Martin Knopp
> fecher GmbH
>
>