PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Apr 25, 2024 12:21 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Feb 07, 2008 7:14 pm 
Offline

Joined: Thu Feb 07, 2008 6:53 pm
Posts: 1
I am having a problem creating a PDF file in Firefox. I am using the clock project from the PDFsharp demo projects to create my own web page to create a PDF file. I am expanding the clock project so that there is a Default.aspx page which does NOT send a PDF file to the browser; the Default.aspx page does nothing. It does have images and text on it as well as a print button. The print button does a Response.Redirect to another page called PrintPDF.aspx. I am using the same code as the clock project on the PrintPDF.aspx.cs page to create a PDF to send to Firefox, but when PrintPDF.aspx loads, I can still see the images and text from the Default.aspx page and nothing loads in PrintPDF.aspx. When I do a refresh on the browser, the PDF file is sent to the browser. I suspect the PDF file is getting stuck in the Response.Flush somehow. I have tried this in IE and it works.

If you want the code, look at the clock project because my code is exactly the same as that! Does anyone have any ideas as to why this is happening in Firefox and how to get this to work on a page load coming from another page?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 315 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group