Adf.Web.UI.TwoColumnPanel.FinaliseRendering C# (CSharp) Method

FinaliseRendering() protected method

Finalizes the rendering process.
protected FinaliseRendering ( System.Web.UI.HtmlControls.HtmlTable table ) : void
table System.Web.UI.HtmlControls.HtmlTable The table.
return 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);
        }