Welcome Guest Search | Active Topics | Sign In | Register

ASPXToPDF.RenderAsPDF of current aspx page not show the style of grid and background image Options
sharon
Posted: Tuesday, August 2, 2011 11:39:19 AM
Rank: Newbie
Groups: Member

Joined: 7/18/2008
Posts: 1
I have one ASPX page with several Obout grids with style defined. After ASPXToPDF.RenderAsPDF, if in development environment, the PDF shows exactly same as the ASPX page on IE browser. But once published through IIS, the PDF does not have correct formats and styles. The grids are not formatted same as original ASPX page.

What is the reason? What should be done to fix this?

Thanks
eo_support
Posted: Tuesday, August 2, 2011 12:21:40 PM
Rank: Administration
Groups: Administration

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

Please try to set HtmlToPdf.Options.BaseUrl and see if it helps. You can set it directly to your domain root. For example, if your page is http://www.xyz.com/app1/page1/grid.aspx, try set it to http://www.xyz.com.

If that still does not solve the problem, please provide the Url of the page (you can send a private message to us if you do not wish to post it publically in the form). We will take a look and see what we can find.

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.