Hi,
As our project will require mixing currencies from various countries, I tried to use the "culture" configuration
when creating a NumericTextBox, such as follow:
I loaded the fr-BE culture JS file in my page.
The problem is when I try to type "10.42". (Belgian decimal character is a comma).
When I press the . on the numeric keypad, it adds both a dot and a comma, so it gives: "10.,42".
Whether I keep going like this, or I remove either the dot or the comma, it will automatically change to 1042.
Using kendo.culture("fr-BE") fixes the problem, but the question is, should I use kendo.culture() before creating each widget that uses a different culture ?
Or is that a bug ?
Thanks
As our project will require mixing currencies from various countries, I tried to use the "culture" configuration
when creating a NumericTextBox, such as follow:
$(
this
).kendoNumericTextBox({
format:
"c2"
,
culture:
"fr-BE"
});
The problem is when I try to type "10.42". (Belgian decimal character is a comma).
When I press the . on the numeric keypad, it adds both a dot and a comma, so it gives: "10.,42".
Whether I keep going like this, or I remove either the dot or the comma, it will automatically change to 1042.
Using kendo.culture("fr-BE") fixes the problem, but the question is, should I use kendo.culture() before creating each widget that uses a different culture ?
Or is that a bug ?
Thanks