Search code examples
asp.nethtmlrunatserver

Is it bad to use runat="server" on <tr>?


I'm supporting an application that uses runat="server" all over the place to show/hide table rows.

For example, in places where there are dependent DropDownLists, the row with the child ddl will be hidden until a value us chosen in the parent ddl.

Is that a bad practice? Is there a better way to do this?


Solution

  • I use runat="server" anytime I need it. So I think you can use it too. :-)