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