RadMaskedNumericInput Maximum value setting is not working with hungarian culture settings.
Steps to reproduce:
- Open the attached project, fix the references and start the application
- Click button "English"
- Select the first item from the dropdown
- Inputs are changing to 1433.2 and 1810.9 - OK
- Select the 2nd item from the dropdown
- Inputs are changing to 0 and 59 - OK
- Click button "Hungarian"
- Select the first item from the dropdown
- Inputs are changing to 1433.2 and 1433.2 - NOT OK, Why?
Thanks,
Roberto
Hi Dinko,
Thank you for your answer.
I don't think that it is a good idea to change the decimal separator globally in our application, but as a workaround we switched to RadNumericUpDown.
Thanks,
Roberto
var c =
new
CultureInfo(
"hu-HU"
);
c.NumberFormat.NumberDecimalSeparator =
"."
;
Thread.CurrentThread.CurrentCulture = c;
Thread.CurrentThread.CurrentUICulture = c;