void OnSelectDateControlCommit(object sender, EventArgs e) { SelectDateControl control = (SelectDateControl)sender; string value = ((DateTime)control.EditValue).ToString("MMMM, dd yyyy"); ReplaceRange(value, control.Range); }
PopupControlBase CreateSelectDateControl() { SelectDateControl result = new SelectDateControl(); result.Commit += OnSelectDateControlCommit; return(result); }