Range Slider issue with Minimum and Maximum Values

2 posts, 0 answers
  1. JP
    JP avatar
    5 posts
    Member since:
    Jan 2015

    Posted 24 Apr 2015 Link to this post


     I'm trying to use very small decimal numbers for the Minimum and Maximum Values for the Range Slider however it doesn't show the labels for the ticks.

    Am I doing something wrong or is it a limitation for the Minimum and Maximum values?


    Minimum = -1.5080401719063519

    Maximum = 1.2150488669618964

    Tick = ((Maximum - Minimum) / 5) = 0.54461780777364965

  2. Kiril Vandov
    Kiril Vandov avatar
    323 posts

    Posted 24 Apr 2015 Link to this post

    Hello Johannes,

    In order to display the Ticks of the RadSlider you need to set the TickPlacement property of the RadSlider as its default value is None and no Ticks are displayed, for more information you can check this article. After that you need set the TickFrequency property which is responsible for how often the ticks are drawn, for more information and code snippets you can check this article.
    Please note that the RadSlider and its Minimum/Maximum/Value/SelectionRange properties work with Double not Decimal values.
    <telerik:RadSlider Minimum="-1.5080401719063519" Maximum="1.2150488669618964" TickPlacement="Both"  TickFrequency="0.2"/>
    I hope this information helps. Please let us know if you need further assistance.

    Kind regards,
    Kiril Vandov

    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft R3 2016 release webinar banner
Back to Top