This is a migrated thread and some comments may be shown as answers.

Slider to look like ruler?

1 Answer 103 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Elizabeth
Top achievements
Rank 1
Elizabeth asked on 30 Jul 2016, 04:50 AM

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

Thank you.

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 04 Aug 2016, 06:49 AM
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.
Tags
Slider
Asked by
Elizabeth
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or