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

Images for Slider bar

1 Answer 47 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 16 Apr 2010, 02:53 PM
Using Rad Controls for ASP.NET AJAX Q3 2009 SP2

All the skins I have seen have one image for the Track Bar.
Is it possible to use different images for the track bar ends? I need to create a slider bar that has rounded ends.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 19 Apr 2010, 01:40 PM
Hi Frank,

Please, find attached two zipped projects with two different solutions for RadSlider with rounded ends.

First solution: SliderRoundedFlexibleWidth - I have changed the image sprite in a way to show rounded ends for the SlideTrack. In that case you could specify any width for the RadSlider, as the rounded ends are part of the sprite that inserts the arrows and it does not have any problem with the width of the SlideTrack. The problem of that solution is that the rounded ends are not part of the SlideTrack. And even if the slider covers the round end visually you should consider that it is not part of the SlideTrack.

Files in SliderRoundedFlexibleWidth: Default.aspx,  HandlesRounded.gif

Second solution: SliderRoundedFixedWidth - This is a solution with a fixed width. The advantage is that in that case the rounded ends are part of the SlideTrack. The limitation is that you should have fixed width for the SlideTrack.

Files in SliderRoundedFixedWidth: Default.aspx, RoundSelected.gif, RoundSlide.gif

All the best,
Bozhidar Ruzhenov
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
Frank
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or