protected DropDownList RenderDropDown(ControlStruct cs)
{
DropDownList down = new DropDownList();
if (cs != null)
{
down.ID = "ddl" + cs.Name;
down.CssClass = ControlCellStyle.CssClass;
down.Enabled = cs.Enabled;
down.Width = Unit.Percentage(cs.Width);
}
return down;
}