protected override Control CreateHostedControl()
        {
            DateTimePicker dtp = new EditableDataGridDateTimePicker();                                  // Our hosted control is a DTP

            dtp.Format = DateTimePickerFormat.Short;

            return(dtp);
        }
 protected override Control CreateHostedControl()                            
 {
     DateTimePicker dtp = new EditableDataGridDateTimePicker();                                  // Our hosted control is a DTP
     
     dtp.Format = DateTimePickerFormat.Short;
     
     return dtp;
 }