any way to make tickes dispaly fraction?

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

    Posted 30 Jul 2016 Link to this post

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

    Thanks

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1502 posts

    Posted 04 Aug 2016 Link to this post

    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.
Back to Top