FLUENT VALIDATION

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hello
5 years ago
dspriveri wrote:
Hello


Hi dspriveri,

Wite your problem details here, please.
5 years ago
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?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.