Reputation: 13487
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 that is runat="server"
.
Edit 1)
<table cellpadding="4" cellspacing="0" id="tbl_9_10" runat="server" clientidmode="Static" >
<caption>
For Six years old </caption>
Upvotes: 0
Views: 1717
Reputation: 4361
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>
Upvotes: 2