I'm changing fluentvalidation controls based on the air navigation language of the administrator.
I changed
SetTelerikCulture
if (ForceEnUsCulture())
{
var culture = new CultureInfo("en-US");
Thread.CurrentThread.CurrentCulture = culture;
Thread.CurrentThread.CurrentUICulture = culture;
}
else
{
var culture = new CultureInfo("it-IT");
Thread.CurrentThread.CurrentCulture = culture;
Thread.CurrentThread.CurrentUICulture = culture;
}
So in the textbox I rightly see the figure 18.50 (instead of 18.50) but when I release the field gives me the error of the validation "The field xxx must be a number."
Although when I press the Save button it works.
I would like to avoid the mistake of the Validation ....
in which controller should I intervene?