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

Tick margins

1 Answer 30 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 18 Mar 2010, 10:15 PM
Is it possible to set a margin for the last and first ticks that appears on the slider?
In the example giving at http://blogs.telerik.com/KirilStanoev/Posts/08-07-24/Using_ValueConverter_to_edit_Slider_s_TickTemplate.aspx?ReturnURL=%2fKirilStanoev%2fPosts.aspx
January and December do not have left and right margins, respectively. I do not want the first and last words to go beyond their ticks. What I want is the letter "J" of January to go right above its tick and so for the letter "R" of December.

I would also like to give the selected tick more visibility when selected. So I was wondering if it is possible to highlight or to maximize the tick when selected.

1 Answer, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 23 Mar 2010, 09:37 AM
Hello Marcelo,

Thank you for contacting us.

"What I want is the letter "J" of January to go right above its tick and so for the letter "R" of December.
"
This scenario is not supported out of the box and to achieve it you will need to use a template selector for the ticks. You will also have to give the first and last tick margins so that they align as you wish. I've prepared a small project demonstrating this functionality. Have a look at it and let me know if something is unclear.

I would also like to give the selected tick more visibility when selected. So I was wondering if it is possible to highlight or to maximize the tick when selected.
This scenario is not yet supported. I've logged your request in our PITS and we will definitely consider it when implementing new features for RadSlider. The log item is called "Slider: Notification when reaching a tick" and it will be available for tracking tomorrow the latest.

Let us know if you have additional questions or comments on the topic.

Kind regards,
Kiril Stanoev
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.
Tags
Slider
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or