You missing the the runat="server" attribute.
That will tell ASP.NET to create a server side object for that element. Elements without it will be accessible only from the client...
<table><tbody><tr id="name2" style="visibility:hidden" runat="server"></tr></tbody></table>