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

Disabling ticks on a slider

1 Answer 184 Views
Slider
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 14 Dec 2010, 03:56 PM
Is there a way (example) to disable (in code) ticks on a RadSlider? Practically, imagine two sliders, one shows years, the other Months. When you select the current year and it is July all months AFTER that would be disabled and the slider would not go to them (would stop at July).

Thanks!

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 16 Dec 2010, 04:47 PM
Hello James,

Currently there is no out-of-the-box approach to achieve this scenario. In this case, you will have to implement your custom logic. I've prepared a small example which demonstrates one possible solution. Take a look at it and let me know if it helps.

Kind regards,
Kiril Stanoev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
Slider
Asked by
James
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or