CssClass not working in code behind

  • Thread starter Thread starter Max
  • Start date Start date
M

Max

When I do this in the code behind, the class in the <TD> does not change or
render:
myTableCell.CssClass = "myClass"

What tells me my coding is right:

tcMenu3.Visible = False
Result: <TD> properly disappears

<asp:TableCell ID="myTable" CssClass="myClass">
Result: <TD class="myClass"> class shows up fine


Any ideas?


-Max
 
Back
Top