Server-Side DataGrid Manipulation - Please Help

P

pbd22

Can somebody tell me how I add classes to the <td> tags in my datagrid
server-side?
I seem to be able to get my custom classes to the <tr> tags from
within the grid's "ItemStyle"
tags by the <td> tags, or columns, remain allusive. What is the
appropriate code for styling
my columns for, say, this.MyDataGrid. And, if you are really good, how
do I style various <td>
elements with various class directives such that:

<tr>
<td class="tdOdd left"><img src="img/table_teaser.jpg" alt="teaser"
class="teaserImage" />
<h3>VTV goes behind the scenes</h3>
<p>Today we launch the Security-Awareness and online ...</p>
</td>
<td class="tdEven left">
<p>Monday 12.02.2008</p>
<p>11:30 - 12:00 (<a href="#">UK</a>)</p>
</td>
<td class="tdOdd left">
<p>Live webinar</p>
</td>
<td class="tdEven left">
<p>Active</p>
<p>20 viewers</p>
<p><a href="#">Register</a></p>
</td>
<td class="tdOdd2 left">
<p>Mark Lipp</p>
</td>
</tr>

I would really apprecaite some help.

Thanks. -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top