With a little more research, I see that the caption for a gridview is in a
<Caption> tag. I wonder, does iTextSharp not support the use of the Caption
tag?
Here's how my rendered HTML looks:
<table cellspacing="0" cellpadding="3" rules="all" border="1" id="gForSummary"
style="width:780px;border-collapse:collapse;">
<caption>
<B>TEST CAPTION</B>
</caption><tr
style="color:White;background-color:#8C1008;font-weight:bold;">
<th scope="col">Title</th><th
scope="col">Relationship</th><th scope="col">Type</th><th
scope="col">Searched</th><th scope="col">Batch</th>
</tr>
etc......
To: "[email protected]"
<[email protected]>
Sent: Wednesday, May 16, 2012 2:36 PM
Subject: [iText-questions] Gridview Captions Do not Appear in my iText pdf. Any
suggestions?
I have a gridview being printed to a pdf. Each column header prints in the
pdf, but for some reason, the caption, which is like the "Title" of the overall
gridview doesn't display. Any idea how to get a caption added to a gridview
for itext?
--Lori
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php