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
|
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!
|