public AcHtmlTableRow AddNewRow( ) { AcHtmlTableRow row = new AcHtmlTableRow( ); Rows.Add(row); return(row); }
public TablePropertyRow( AcHtmlTable InTable, string InPromptText, string InPropertyValue) { mTable = InTable; PropertyTableAttributes pta = mTable.PropertyAttributes; mRow = mTable.AddNewRow( ); // add the prompt text cell. mPromptCell = mRow.AddNewCell( ); // fill the prompt text cell. if (pta.PromptColumn.WidthPct > 0) { mPromptCell.AddAttribute("width", pta.PromptColumn.WidthPctString); } mPromptCell.SetInnerText(InPromptText); // add the property value cell. mValueCell = mRow.AddNewCell( ); // fill the property value cell. if (pta.ValueColumn.WidthPct > 0) { mValueCell.AddAttribute("width", pta.ValueColumn.WidthPctString); } mValueCell.SetInnerText(InPropertyValue); }
// ----------------------- FindTableRowControl --------------------------- public AcHtmlTableRow FindTableRowControl(string InFindId) { AcHtmlTableRow control = (AcHtmlTableRow)FindControl(InFindId); return(control); }