I am using ultraDateTimeEditor of Infragistics Version 6.Through Application I am chaging the Culture by
System.Globalization.CultureInfo ApplicationCulture = new System.Globalization.CultureInfo("de-DE");
System.Threading.Thread.CurrentThread.CurrentCulture = ApplicationCulture;
System.Threading.Thread.CurrentThread.CurrentUICulture = ApplicationCulture;
but This control not showing the dates in culture specific maner . i would like to know whether this control support localization or not if yes then how to set
I am having this same issue. Was this ever resolved? I've tried both suggestions in this thread and have not been able to get the UI to localize properly.
Still got the same issues. And still no solution for it?
Setting FormatProvider doesn't work.
The UI of that dropped Down calendar is still depending to current system language, independent what was set to Thread.CurrentCulture
It has a Today button by default.
You can turn on week numbers like so:
this.ultraCalendarCombo1.WeekNumbersVisible = true;
It doesn't use a red circle around today, but you could highlight today with a BackColor/ForeColor:
this.ultraCalendarCombo1.CalendarLook.TodayAppearance.BackColor = Color.Red; this.ultraCalendarCombo1.CalendarLook.TodayAppearance.ForeColor = Color.White;
Or, with a little coding, you could probably draw your own red circle using a DrawFilter.
Is it possible to use it as the control that the ultraGrtid should use in columns with dataType = DateTime?
Yes, what you do is place an UltraCalendarCombo on the form and then set the EditorComponent of each (datetime) column to the UltraCalendarCombo control.
ThanksHi Mike,
it works like a charm and doesn't need that 'registry hack' ! Perfect...
But last two questions:
Thanks
1) I don't think there is any way to do this. At least not simple way. You could probably acheive it with a CreationFilter to re-arrange the elements, but it would not be trivial and it would have to apply to the grid.
2) My UltraCalendarCombo shows a Today button under the calendar by default. It looks like maybe you have applied some styling and other settings to your, so maybe it's somehow getting turned off. I'm not really sure what settings could do that, though. Perhaps it's something to do with a particular ViewStyle. You might be able to add it back in like so:
this.ultraCalendarCombo1.DateButtons.Add(DateButtonType.Today);