Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Editor parses bad value in rowedittemplate
posted

Hi,

I've got a problem with webnumericeditor

I use it in a rowedittemplate and it is bound to a datafield of type Long (or whatever)

If the value is for instance "45,37" the set_value will be 4537, so the webnumericeditor will top to the max value (which is 100 in my case)

When you enter a value like "31,74" in the webnumericeditor and commit, the correct value is passed to the code behind

I had many tentatives with culture and even replaced it by a webmaskeditor, but I always have this problem of initial parsing during the set_value, for which the {value} parameter has no more comma

Could someone direct me to a solution please?

Many thanks!