Example #1
0
        void OnSelectDateControlCommit(object sender, EventArgs e)
        {
            SelectDateControl control = (SelectDateControl)sender;
            string            value   = ((DateTime)control.EditValue).ToString("MMMM, dd yyyy");

            ReplaceRange(value, control.Range);
        }
Example #2
0
        PopupControlBase CreateSelectDateControl()
        {
            SelectDateControl result = new SelectDateControl();

            result.Commit += OnSelectDateControlCommit;
            return(result);
        }