protected RenderRadioHorizontal ( ControlStruct cs ) : RadioButtonList | ||
cs | ControlStruct | |
return | RadioButtonList |
protected RadioButtonList RenderRadioHorizontal(ControlStruct cs)
{
RadioButtonList list = new RadioButtonList();
if (cs != null)
{
list.ID = "rbl" + cs.Name;
list.CssClass = ControlCellStyle.CssClass;
list.Enabled = cs.Enabled;
list.RepeatDirection = RepeatDirection.Horizontal;
list.Width = Unit.Percentage(cs.Width);
}
return list;
}