If a users is running with Windows regional format settings and location set to Thai then the UltraDateTimeEditor displays the incorrect year in the editor. For instance if the year gregorian year is 2015, the editor should be displaying 2558 but instead it displays 2015. The drop down calendar does display the correct year though. Is there a way to make the embeddable editor portion of the control display the correct year, we are using the 2012v2 version of the controls.?
Great, thanks. I'll review your sample.
here is the sample.
Hello Todd,
Thank you for posting in our forum.
Infragistics controls support only the Gregorian calendars, and when you use Thai culture, it uses ThaiBuddhistCalendar. The component which you have chosen to use – UltraDateTimeEditor has for a dropdown standard MS MountCalendar (which is culture aware) and EditorWithTime (which is not culture aware), which actually cause this issue. However you can use UltraCalendarCombo as it shows correct data as per ThaiBuddhistCalendar, and it is not culture aware, and it shouldn’t cause issues in displaying of the date, but you should keep in mind that you might need to convert the returned date time to the corresponding calendar to which you should save this value.
Please find attached a small sample solution implementing this approach.
Please let me know if you have any further questions.