We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Numerictextbox and CultureFiles

Hi,

I have a problem with numerictextbox on postback. In Sweden we have "," as a separate instead of a "."

When I include Swedish CultureFiles the value in numerictextbox is correctly formatted with "," but on postback, its submit as a "." and the Model/value is not valid.

See attached project.




Attachment: TestWebApp_a6504b0d.zip

1 Reply

SP Sureshkumar P Syncfusion Team October 24, 2019 09:41 AM UTC

Hi Stefan, 
 
Greetings from Syncfusion support. 
 
We would like to inform you that, in the previous version of 17.2.34, Numeric TextBox will send the value with comma separator (Input value in the Numeric Textbox) to the server. Due to value parsing with a comma separator, value will not set to the component. This issue fixed in the latest release version 17.2.34. Now, value with comma separator will send to the server with a dot separator (Model value of the Numeric Textbox). This is the default and correct behavior of the Numeric Textbox value with a comma separator. 
 
 
Regards, 
Sureshkumar P 


Loader.
Live Chat Icon For mobile
Up arrow icon