Slider: Fixed Starting Point?

2 posts, 0 answers
  1. Jon
    Jon avatar
    1 posts
    Member since:
    May 2009

    Posted 14 May 2009 Link to this post

    Hi,

    I have a horizontally positioned slider control which I need to start in the MIDDLE of the control. Example: The slider has a 1 to 100 range, I need the handle to BEGIN in the middle of the control (50) without the 1-50 being selected. If I were then to move the handle from the middle to the maximum point (100), it would have visually selected the range of 50 to 100, not 1 to 100, and additionally the value would return 100 as that is where the handle is positioned.

    Is there any way to achieve what I need?

    Thanks so much.
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 18 May 2009 Link to this post

    Hello Jon,
    The selection of the RadSlider is actually an image. Therefore, you can easily achieve the described result by creating a custom image for the selected region that would be the same as the image of the track (or transparent) in its first half and in its second half would look like the selection image. I have attached a simple page, using a dummy image in order to demonstrate my idea.

    Greetings,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top