Skip to content Skip to sidebar Skip to footer

Table Caption Does Not Show When It Is Runat=server

I have a simple HTML table with a caption for it and thw caption showed.I add a runat='server' attribute to it and now the caption did not show. How I can show caption for table th

Solution 1:

From MSDN "A complex table model is not supported. You cannot have an HtmlTable control with nested caption, col, colgroup, tbody, thead, or tfoot elements."

Instead you can use asp.net table

<asp:Table Caption="For Six years old" runat="server">

</asp:Table>

Post a Comment for "Table Caption Does Not Show When It Is Runat=server"