protected CheckBox RenderCheckBox(ControlStruct cs)
{
CheckBox box = new CheckBox();
if (cs != null)
{
box.ID = "cbx" + cs.Name;
box.CssClass = ControlCellStyle.CssClass;
box.Enabled = cs.Enabled;
box.Width = Unit.Percentage(cs.Width);
}
return box;
}