RadTrackBar Behaivor

2 posts, 0 answers
  1. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2009

    Posted 22 Jun 2010 Link to this post

    The RadTrackBar when you drag the indicator forward it goes to the next tick but when you drag backwards it waits until you reach the previuos tick.

    Both behaivors are not as I expect.

    Is there a way to change them?

    I expect that the inicator follows the mouse.


  2. Boryana
    Boryana avatar
    330 posts

    Posted 24 Jun 2010 Link to this post

    Hello Felipe,

    What you are describing is the default behavior of RadTrackBar. The control was created to first of all mimic and then extend the functionality of the standard WinForms TrackBar. In this sense this is how the control should work.

    However you might be able to achieve a smooth transition between ticks by applying appropriate value to the Maximum property. It sets the maximum value for the position of the slider on the RadTrackBar. If you want to keep the number of ticks unchanged you should set the TickFrequency property. Thus you will increase the logical range without changing the number of ticks. Here is a sample snippet:
    private void Form1_Load(object sender, EventArgs e)
        this.radTrackBar1.Maximum = 100;
        this.radTrackBar1.TickFrequency = 5;

    I hope you find this useful. Let me know if I can assist you further.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top