Slider to look like ruler?

2 posts, 0 answers
  1. Elizabeth
    Elizabeth avatar
    4 posts
    Member since:
    Apr 2014

    Posted 29 Jul 2016 Link to this post

    How to make Slider look like Ruler with small and large ticks?

    Thank you.

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1502 posts

    Posted 04 Aug 2016 Link to this post

    Hi Elizabeth,

    You can use SmallChange and LargeChange:
    <telerik:RadSlider RenderMode="Lightweight" runat="server" ID="RadSlider6" Orientation="Horizontal" Width="300"
        Height="50" MinimumValue="0" MaximumValue="50" LargeChange="10" TrackPosition="TopLeft" SmallChange="3"
        ItemType="Tick" IsSelectionRangeEnabled="true" SelectionStart="10" SelectionEnd="30"
        EnableServerSideRendering="true">
    </telerik:RadSlider>

    You may also find useful the following demos:
         - http://demos.telerik.com/aspnet-ajax/slider/examples/slidersteps/defaultcs.aspx
         - http://demos.telerik.com/aspnet-ajax/slider/examples/ticks/defaultcs.aspx

    Regards,
    Danail Vasilev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top