Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
UltraMaskedEdit does not show correct Thai year
posted

Hi,

I am building a custom date control by combination of UltraMaskedEdit and UltraMonthViewMulti. The current culture of the thread is "th-TH". The UltraMonthViewMulti shows correct Thai year 2560. However when I set the Value property UltraMaskedEdit, the display text of it is 2017.

I also tried to do this

            comboDateInput.FormatString = comboDateInput.CultureInfo.DateTimeFormat.ShortDatePattern;
            comboDateInput.InputMask = "{date}";

It only display correct Thai year if control is not in edit mode. When I click the UltraMaskedEdit to edit, it show 2017 again.

As stated in http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinMaskedEdit.v12.2~Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit~InputMask.html

{date} token is a place holder for short date input. The date mask is derived using the underlying culture settings.

I am not sure if property InputMask is working properly.

Please verify this issue for me.