Hi,
Recently I'm using ultraCalendarCombo.
As the request needs, I was wandering if I want to show the value "平成27年04月28日" in the ultraCalendarCombo, is it possible to implement that?
Does it have to like the topic below:
http://ko.infragistics.com/community/forums/t/95554.aspx
Could you please help me with that? Thanks for your concern.
P.s. "平成27年04月28日" is actually Japanese calendar, and in culture "en-US" it's "2015/04/28"
Hello Richard,Thank you for posting in our forum.In order to display the dates in Japanese you need to set your CurrentThread culture calendar to Japanese calendar. You may use code like this:
CultureInfo japanese = new CultureInfo("ja-JP");japanese.DateTimeFormat.Calendar = new JapaneseCalendar();Thread.CurrentThread.CurrentCulture = japanese;Thread.CurrentThread.CurrentUICulture = japanese;}
Next step is to set the UltraCalendarCombo Format property to “D”. This will force the combo to show the date, when combo is not in edit mode, formatted as long day format which in Japanese is this 平成27年04月29日.Please find attached a small sample solution implementing this approach and let me know if this is what you are looking for or if I am missing something.
Hi, Milko
Thanks for your help. And the calendarCombo could show the value that I need.
But when I click the calendar-select button(screenshot one), that I want to change the year, it's only shows the "平成27年4月", "平成27年3月"(screenshot two), something like that.
I was wondering if it's possible to implement the standard calendar-select effect, which is when I click the year(screenshot three), it will show the month select screen(screenshot four).