How do I include thead in a runat="server" table element? How do I include thead in a runat="server" table element? asp.net asp.net

How do I include thead in a runat="server" table element?


For partial solution you can move that <th> front-end code to the back-end code.That should take care of the compilation problem.Don't know what to do about <tbody> tags though.If you view HTML of your page as it stands now, I doubt that they render anyway.Here is why.


Microsoft has confirmed this is a bug. They will create a hot fix for it, and include the fix in the next service pack. It doesn't sound like this is a high priority, so it will probably take a while for the hot fix.

2012-10-01 Update:Microsoft support contacted me and said this will be fixed in an upcoming hot fix "soon".

2012-11-28 Update:Visual Studio 2012 Update 1 does not fix the problem.