Increase Change Value / Scale on Larger Value

5 posts, 0 answers
  1. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 23 Sep 2009 Link to this post

    This is a little hard to explain, so I have a few links below that will explain it visually much better, but I want to be able to do this:  when I am dragging a slider, when I get close to the right end (the higher values) I want the "selected value" to go up faster than it would with the lower values.  Have a higher "scale" for the higher values.  Ok visual help:

    I am trying to replicate the functionality at this link:
    See my version for reference also:

    - Look at the Carat slider on the bluenile link.  Notice when you are sliding towards the end of this slider, the values go up much faster.  Values 3 - 15 are in the last quarter of the slider.  While .23 - 2.00 are in the whole first half.  If you look at mine, it is all even through the whole slider.  Is it possible to achieve this "scaling" with your slider.  I imagine I could play with some of the OnClient javascript functions, but wanted to get your input first.

    Your help is always much appreciated.  Thank you

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 29 Sep 2009 Link to this post

    Hello Joe,
    The RadSlider control does not offer such functionality out of the box. As you yourself mentioned, you can use the client events of the control to implement the described behavior.

    What you actually need to "fix" is only the information that you display. That is why, I would recommend that you do the following:
    • Before you update the input, check the value of the slider and calculate the value you want to display in the input based on the selectionStart/selectionEnd of the slider.
    • Update the input with the calculated value and not with the value of the RadSlider.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
  4. Jewelry
    Jewelry avatar
    1 posts
    Member since:
    Feb 2016

    Posted 06 Feb in reply to Tsvetie Link to this post

    Hi Tsvetie, Please suggest something for -

    Thank you!

  5. Vessy
    Vessy avatar
    1350 posts

    Posted 10 Feb Link to this post

    Hi Jewelry,

    Can you elaborate a bit on the exact issue we have to look at in the provided site? What are the steps to navigate to the target control and hat is the behavior you want to achieve with it?

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Shimon
    Shimon avatar
    1 posts
    Member since:
    Feb 2016

    Posted 17 Feb in reply to Tsvetie Link to this post

    I agree with you Joe.
Back to Top
DevCraft R3 2016 release webinar banner