Tick's not showing

2 posts, 0 answers
  1. Clarence Klopfstein
    Clarence Klopfstein avatar
    13 posts
    Member since:
    Oct 2008

    Posted 23 Sep 2009 Link to this post

    I have the following declaration, and my tick marks aren't showing.

    Thoughts?
    <telerik:RadSlider ID="rdSlider" runat="server" OnClientValueChange="HandleValueChange"  
                    OnClientLoaded="HandleValueChange" Width="135"  
                    CausesValidation="false" Visible="true" TrackPosition="Center" 
                    OnValueChanged="rdSlider_ValueChanged" AutoPostBack="true" ItemType="Tick" LargeChange="100"
                </telerik:RadSlider> 

  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 29 Sep 2009 Link to this post

    Hi Clarence Klopfstein,
    The RadSlider checks whether there is enough space for the ticks to show and in case there is not, the control does not create the HTML for them at all. For example, in case the width of a tickmark is 1px and the slider will create 100 tickmarks, it will only create them in case its track element is at least 100px wide.

    In your case, the track element is exactly 85px wide and the slider needs to display 99 small tickmarks and 2 large tickmarks. As there is not enough space for the small tickmarks, the slider only creates the large tickmarks.

    Sincerely yours,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top