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

any way to make tickes dispaly fraction?

1 Answer 37 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, 05:17 AM

like 1/4, 2/4, 3/4, 4/4?

Thanks

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 04 Aug 2016, 06:58 AM
Hello Elizabeth,

If these values are related to the LargeChange they can be displayed. For example:

<telerik:RadSlider ID="negativeSlider" runat="server" MinimumValue="-1" MaximumValue="1" SmallChange="0.05" LargeChange="0.25" Width="500" Value="0" ItemType="Tick" Height="70" OnClientValueChanging="changingValue" />
<telerik:RadTextBox ID="negativeSliderValue" runat="server" Value="0" Label="Slider value: " />
<script type="text/javascript">
    function changingValue(slider, args) {
        $find("negativeSliderValue").set_value(args.get_newValue());
    }
</script>

Labels over SmallChange, however, are not available.

More information is available here - http://www.telerik.com/forums/request-add-decimals-property-for-ticks#JeNTo-T5c0ex_GupF9UIUg

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