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
From Infragistics Developer Support.
The UltraDateTimeEditor uses Microsoft MonthCalendar as its dropdown calendar. The MonthCalendar doesn't support localization and it is difficult to implement a proper localization support. You can find more information about this in the following thread:
http://ko.infragistics.com/community/forums/t/83519.aspx
You might want to consider using UltraCalendarCombo instead of UltraDateTimeEditor. UltraCalendarCombo doesn't rely on the Microsoft MonthCalendar.
Yeah maybe.
But only if its possible there too, to display calendar weeks, display an today button (incl. the red circle around the present date) and mark special dates inside the monthCalendar (like holidays and so on)
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.
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);
ThanksHi Mike,
it works like a charm and doesn't need that 'registry hack' ! Perfect...
But last two questions:
Thanks
Yes, what you do is place an UltraCalendarCombo on the form and then set the EditorComponent of each (datetime) column to the UltraCalendarCombo control.
Is it possible to use it as the control that the ultraGrtid should use in columns with dataType = DateTime?