Saturday, June 2, 2012

ASP.NET/C# - how to control HTML table rows, table data cells (tr, td) from code behind

This one is quite easy - you just need to declare the <td> or the <tr> element to run on server.


Example how to set HTML DataRow invisible from code behind:

HTML

<td runat="server" id="td_01">

C#

td_01.Visible = false;



Cheers!

No comments:

Post a Comment