Hi,
I used a TimePicker in RadGridView as editor control,
var culture = new CultureInfo("en-US") {DateTimeFormat = {ShortTimePattern = "HH:mm"}};
BindingTarget = RadDateTimePicker.SelectedTimeProperty;
return new RadDateTimePicker { SelectedTime = (TimeSpan)viewItemHolder[feature], InputMode = InputMode.TimePicker, TimeInterval = TimeSpan.FromMinutes(15), Culture = culture };
It seems if I select an item in its dropdown list via mouse clicking, it will lost focus and cause the editing row to commit immediately. If I select the item using keyboard (hitting enter), the TimePicker seems stay in focus.
I didn't notice this problem with RadDatePicker or RadDateTimePicker . Any idea what might go wrong here?
I used a TimePicker in RadGridView as editor control,
var culture = new CultureInfo("en-US") {DateTimeFormat = {ShortTimePattern = "HH:mm"}};
BindingTarget = RadDateTimePicker.SelectedTimeProperty;
return new RadDateTimePicker { SelectedTime = (TimeSpan)viewItemHolder[feature], InputMode = InputMode.TimePicker, TimeInterval = TimeSpan.FromMinutes(15), Culture = culture };
It seems if I select an item in its dropdown list via mouse clicking, it will lost focus and cause the editing row to commit immediately. If I select the item using keyboard (hitting enter), the TimePicker seems stay in focus.
I didn't notice this problem with RadDatePicker or RadDateTimePicker . Any idea what might go wrong here?