<FooterTemplate>
<tr style="background-color:Orange;">
< td width="6%" align="center" id = "tdFooter" runat = "server" colspan = "3">
</td>
</tr>
</FooterTemplate>
I have a repeater control in which i have this footer template. All i want is to change the colspan of tdFooter at itemdatabound event(c#) on the basis of some if clauses.How can i do the same?
if (e.Item.ItemType == ListItemType.Footer)
{
if(role = 0)
{
//tdfooter colspan should be 3
}
else
{
//tdfoote colspan should be 2
}
}