Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Slider > slider<double> globalization problem

Not answered slider<double> globalization problem

Feed from this thread
  • Xazo avatar

    Posted on Apr 12, 2011 (permalink)

    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!

    Reply

  • Victor Intermediate avatar

    Posted on Jul 6, 2011 (permalink)

    Hi!

    Just wanted to say we have encountered the exact same problem and am looking for a solution. Any news?

    /Victor

    Reply

  • Hristo Germanov Hristo Germanov admin's avatar

    Posted on Jul 11, 2011 (permalink)

    Hi Victor,

    Thank you for the feedback.

    I am glad to inform you that this issue is fixed and it will be included with the official release of the Telerik Components for ASP.NET MVC.

    All the best,
    Hristo Germanov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

  • Posted on May 25, 2012 (permalink)

    how can i set a decimal separator to rangeslider?

    I have tried to set ui culture but it ignores my culture decimal separator. 

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Slider > slider<double> globalization problem
Related resources for "slider<double> globalization problem"

ASP.NET MVC Slider Features  |  Documentation  |  Demos  |  Telerik TV ]