|
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.
|
|
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.aspxThanks!
|
|
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.
|
|
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!
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
That's interesting. I am glad that you got it working!
|
|