CultureInfo
cultureInfo = new CultureInfo("en-US");
DateTimeFormatInfo dateInfo = new DateTimeFormatInfo();
dateInfo.ShortDatePattern =
"MM/yyyy";
cultureInfo.DateTimeFormat = dateInfo;
Style datePickerStyle = new Style(typeof(RadDatePicker));
datePickerStyle.Setters.Add(
new Setter(RadDatePicker.CultureProperty, cultureInfo));
datePickerEditorSettings.CellEditStyle = datePickerStyle;
((
GridViewDataColumn)this.radGridViewData.Columns[1]).EditorSettings = datePickerEditorSettings;
It crashes, but if I change MM/yyyy to MM/dd/yyyy, the cells shows MM/dd/yyyy 12:00 AM.
Thanks so much for any help.
Ok… I want to play with the Q3 beta because it has fixes for significant bugs in Q2 and support suggested I do so. So, I uninstall Q2 and put in Q3. Immediately, my project breaks because the namespaces and references have been altered. I have some comments and maybe you guys can supply some help.
So here are my hopes...
Thanks! I really love these controls and I just keep asking for more, I know :)
Ken