Cannot Set Slider Value(s)

5 posts, 0 answers
  1. Tom
    Tom avatar
    11 posts
    Member since:
    Jan 2012

    Posted 14 Aug 2012 Link to this post

    I am currently unable to set the values of a slider and rangeslider on a page.  There are no Javascript errors, it appears the sliders are just not redrawing with the new values.  Sliders:

          .Values(new double[] { Model.LowLimit, Model.HighLimit })
          .Events(e => e.Slide("onRangeSliderChanged"))
          .HtmlAttributes(new { style = "width: 425px;" })
          .Tooltip(t => t.Format("{0:P0}"))
          .Events(e => e.Slide("onSliderChanged"))
          .HtmlAttributes(new { style = "width: 425px;" })

    How I am setting the values:
    $("#theRangeSlider").data("kendoRangeSlider").value([lowerValue, higherValue]);
    //Have also tried:
    $("#theRangeSlider").data("kendoRangeSlider").values([lowerValue, higherValue]);
    $("#theRangeSlider").data("kendoRangeSlider").value(lowerValue, higherValue);
    $("#theRangeSlider").data("kendoRangeSlider").values(lowerValue, higherValue);

    The strange thing is the values appear to be "sticking" for the sliders, as in if you reference $("#theRangeSlider").data("kendoRangeSlider").values() the values are exactly as I set them.  The slider just does not change.
  2. Ifdev02
    Ifdev02 avatar
    68 posts
    Member since:
    Jul 2007

    Posted 07 Oct 2012 Link to this post

    Hi I stuck for hours for same issue. I just cant initialize the first rage.
  3. Hristo Germanov
    Hristo Germanov avatar
    703 posts

    Posted 08 Oct 2012 Link to this post


    Unfortunately I am not able to reproduce this issue locally. Could you please send us a simple test project which reproduces the depicted issue? Thus I will be able to observe the problem and advice you further.

    Hristo Germanov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  4. Helga
    Helga avatar
    3 posts
    Member since:
    Jan 2013

    Posted 29 Jul 2016 Link to this post


    i'm having the same problem with a double type slider. The values just stay at the defined min max values, while sliding.

    Version : Kendo.Mvc 2014.3.1316.440

    What was the problem here?

  5. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 03 Aug 2016 Link to this post

    Hello Helga,

    Does upgrading to the latest Kendo UI version - 2016.2.714 help? If not, it would be better to send us a runnable sample where we can replicate the issue and investigate it further.

    Danail Vasilev
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top