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

RadSlider with two categories (Months and Years)

1 Answer 21 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 30 Aug 2013, 02:05 PM
Hi Guys, 
  I am creating a report using Telerik Reports. One of the parameters for my report is a DateRange.
  I thought on using RadSlider as the datasource for this parameter.

  The visual problem I have, is that I would like to display two rows of categories, Months and Years, like in the attachment.
   Does RadSlider provide this functionality? Or what would you recommend me to do??

Thanks!

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 03 Sep 2013, 11:45 AM
Hello Michael,

This functionality is not supported by the RadSlider control, nevertheless, there are two approaches that could allow you to implement it by customizing the control:
 - You may modify the field of the data-source that is used as a TextField for the slider in order to display the year only on the first month;
 - It is also possible to get the slider items on the client-side and remove the year from the text of all items except the first month of the year.

I have attached a sample page that demonstrates these approaches. Please check whether it will help you achieve the desired result.

Regards,
Slav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Slider
Asked by
Michael
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or