Welcome Guest Search | Active Topics | Sign In | Register

Problem with multiple page in pdf Options
Daniele
Posted: Tuesday, December 11, 2012 9:39:55 AM
Rank: Member
Groups: Member

Joined: 11/15/2012
Posts: 16
Hi, i use free last version ASPXToPDF control in my page in i simple call .RenderAsPDF(true);
But my web page to render as pdf is long and i expect a pdf with 2 pages (or 3), but the saved pdf seems to be in error. There's 5 or 6 empty pages and the last one with some text of the page. The others one write a single line at the top...corrupted.
Where is the problem? I must create a web page per pdf-page?

You can repaet the error simple with a page with "LoremIpsum<br />" repeated 200 times in the body of the page.

Thanks!
Daniele
Daniele
Posted: Tuesday, December 11, 2012 10:15:43 AM
Rank: Member
Groups: Member

Joined: 11/15/2012
Posts: 16
The problem seems to be the reset.css that i use to reset all styles.
Founded here: http://meyerweb.com/eric/tools/css/reset/

I investigate
bye
eo_support
Posted: Tuesday, December 11, 2012 11:36:32 AM
Rank: Administration
Groups: Administration

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

You will want to verify your page with Chrome browser first. Our rendering engine is most close to Google Chrome. Different browsers can interpret the same CSS differently.

Thanks!
Daniele
Posted: Tuesday, December 11, 2012 11:42:59 AM
Rank: Member
Groups: Member

Joined: 11/15/2012
Posts: 16
I use Chrome for default, but same errors in other browsers.
So, i removed reset.css and resolved problem.
Thanks


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.