Welcome Guest Search | Active Topics | Sign In | Register

1st Page of Pdf is Missing Data Options
Brentar
Posted: Friday, September 13, 2013 12:34:29 PM
Rank: Newbie
Groups: Member

Joined: 9/5/2013
Posts: 9
I have a pdf report that normally works, but in one circumstance the first page is missing all the data even though it does contain some color bars where the content is supposed to be. The other pages are good. I did notice that this problem report is a lot longer than other reports.

The report renders fine as regular html in the browser.

I have tried increasing the MinLoadWaitTime as there is javascript activity but it didn't work.
eo_support
Posted: Friday, September 13, 2013 12:47:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You may want to debug into your JavaScript to see if you can find anything --- For example, whether a specific segment of JavaScript that creates a certain section of your report has been executed. You can debug your JavaScript code by adding console.log statement in your JavaScript to output debug messages and then use this feature to see the debug messages:

http://www.essentialobjects.com/doc/4/htmltopdf/js.aspx

Thanks!
Brentar
Posted: Monday, September 16, 2013 10:57:11 AM
Rank: Newbie
Groups: Member

Joined: 9/5/2013
Posts: 9
Actually, I was wrong. There is no javascript. This is an MVC project and the report is just using the model that is sent to it. I stepped through the view and the data is there, just not showing up on that first page for some reason. Do you have any more ideas? Thanks.
eo_support
Posted: Monday, September 16, 2013 11:03:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We can not think of anything that would cause that. If you can try to isolate the problem into a test project and send the test project to us, we will be more than happy to look into it and see what we can find. We will PM you as to where to send the test project.

Thanks!
Brentar
Posted: Tuesday, September 17, 2013 3:36:52 PM
Rank: Newbie
Groups: Member

Joined: 9/5/2013
Posts: 9
The cause of this problem was a "background-color: white" CSS property. It was unnecessary so I removed it and the problem is fixed.

I don't know why this caused a problem. It looked fine in a browser.
eo_support
Posted: Tuesday, September 17, 2013 3:50:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
That's interesting. I am glad that you got it working!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.