title: How to set Table/TableRow/TabelCell width by percent in code behind in asp.net?
body: <p>How do I set width with percent in code behind? The only option I can think of is taking the parent width and calculate by percent.i.e. <code>TableRow.Width =  Table.Width.Value * 25/100</code> (set table row with width equals to 25% of the table width). However, eventually, how do I set the table width in percent? Without the table width, the child controls cannot use its parent widths to calculate.</p>