Welcome Guest Search | Active Topics | Sign In | Register

HTML to PDF - Repeat Table Header is not working Options
h.brunialti
Posted: Friday, February 10, 2012 6:47:38 AM
Rank: Newbie
Groups: Member

Joined: 2/10/2012
Posts: 4
Hi,
I'm trying to apply the "repeat table header" using the <thead> tag but it's not working at all.

Here's the html:


Code: HTML/ASPX
<thead>
<td align='left'>Código</td>
<td align='left'>Nome Resumido</td>
<td align='left'>Descrição</td>
<td align='left'>Quantidade</td>
<td align='left'>Peso</td>
<td align='left'>Peso Total</td>
<td align='left'>V.U.L</td>
<td align='left'>Total</td>
<td align='left'>V.U.I</td>
<td align='left'>Desconto</td>
<thead>


I also try to put the <thead> tag on different ways like:

<thead>
<tr>
...
<td>...
</td>
</tr>
<thead>

using <th> instead <td>...

i try to close the <thead> tag as well...
using </thead>

But it's not working...

After that I write the HTML i call, the
EO.Pdf.HtmlToPdf.ConvertHtml(myHTML, MyStream); method.


Thank You




eo_support
Posted: Friday, February 10, 2012 9:29:34 AM
Rank: Administration
Groups: Administration

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

Your code looks fine. Please check whether you have the latest version first. Our early versions do not support table headers. If you already have the latest version and the problem continues, please try to create a small test app that demonstrates the problem and post the complete test code. Once we have that we will run it here and see what we can find.

Thanks!
h.brunialti
Posted: Friday, February 10, 2012 12:09:47 PM
Rank: Newbie
Groups: Member

Joined: 2/10/2012
Posts: 4
Thank you...

I installed the latest version,
but now i'm having a license issue...

There's something that I have to change? Maybe a New License to generate?

The license we have was bought about six months ago..
eo_support
Posted: Friday, February 10, 2012 12:14:29 PM
Rank: Administration
Groups: Administration

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

There are two different licenses: EO.Pdf 2011 and EO.Pdf 2011.2. If your license is for EO.Pdf 2011, then you must upgrade to EO.Pdf 2011.2. If your license is already for EO.Pdf 2011.2, then it should continue to work with the latest build because EO.Pdf 2011.2 is the current version. If you are not sure which license you have, you can send a private message to us with your order number and we will find it out for you.

Thanks!
h.brunialti
Posted: Friday, February 10, 2012 12:37:31 PM
Rank: Newbie
Groups: Member

Joined: 2/10/2012
Posts: 4
I solved the problem but now it's give me this error:

Could not load file or assembly 'EO.Pdf, Version = 3.0.68.2, Culture = neutral, PublicKeyToken = e92353a6bf73fffc' or one of its dependencies. The definition of the located assembly's manifest does not match the assembly reference. (Exception HRESULT: 0x80131040)

eo_support
Posted: Friday, February 10, 2012 1:11:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
h.brunialti wrote:
I solved the problem but now it's give me this error:

Could not load file or assembly 'EO.Pdf, Version = 3.0.68.2, Culture = neutral, PublicKeyToken = e92353a6bf73fffc' or one of its dependencies. The definition of the located assembly's manifest does not match the assembly reference. (Exception HRESULT: 0x80131040)



You need to work out this kind of problem yourself. This is a very basic programming issue and we do not consider it within the scope of our support. See here for more details about our support policy:

http://www.essentialobjects.com/forum/postst1368_Product-support.aspx

Thanks
h.brunialti
Posted: Friday, February 10, 2012 1:21:03 PM
Rank: Newbie
Groups: Member

Joined: 2/10/2012
Posts: 4
Thank you for the agility on the support,

I added the reference on the right place and all the pdf worked ok...
The header problem is gone...

Thank you very much



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.