protected DateTextBox RenderDateTimeTextBox(ControlStruct cs)
{
DateTextBox box = new DateTextBox("dd-MM-yyyy HH:mm");
if (cs != null)
{
box.ID = "dtb" + cs.Name;
box.CssClass = ControlCellStyle.CssClass;
box.Enabled = cs.Enabled;
box.Width = Unit.Percentage(cs.Width);
}
return box;
}