protected FinaliseRendering ( System.Web.UI.HtmlControls.HtmlTable table ) : void | ||
table | System.Web.UI.HtmlControls.HtmlTable | The table. |
Результат | void |
protected override void FinaliseRendering(HtmlTable table)
{
HtmlTableCell leftCell = new HtmlTableCell();
HtmlTableCell rightCell = new HtmlTableCell();
leftCell.Width = "50%";
rightCell.Width = "50%";
leftCell.Controls.Add(left);
rightCell.Controls.Add(right);
HtmlTableRow row = new HtmlTableRow();
row.Controls.Add(leftCell);
row.Controls.Add(rightCell);
table.Controls.Add(row);
}