Hello, I have a problem retrieving values from a Html.Telerik().Slider<double>. The slider returns the value seperating the decimal part with a '.' (dot) while the server parses doubles using the ',' (comma).
In order to solve the globalization problem in my application, I have created a custom double model binder (you can see the implementation on
stackoverflow) but the problem is that the Slider is not consistent with the user's language preferences (the rest of the gui uses
microsoft's javascript globalization). The value is always in Invariant Culture. As a result, I'll have to make custom model binders for every field that is bound to Slider in order to always parse these values using InvariantCulture.
Is there a way to specify the sliders decimal seperator?
Thanks in advance!