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

Slider Timeline control

3 Answers 133 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Clint Singer
Top achievements
Rank 1
Clint Singer asked on 07 Jan 2010, 06:32 AM
Hi,

I was wondering if it would be possible to use the Slider control to emulate a neat timeline control which was developed by idvsolutions.  You can see the example at the bottom of the page here.

The interesting parts are as follows (other than the fantastically nice styling.)

1) It is infinitely scrollable.  As you drag the slider the ticks readjust accordingly to bring in new data ranges.
2) As you adjust the size of the slider range the ticks readjust dynamically so that more of a range is visible as the range slider returns to a constant size.
3) The ticks are dynamically generated depending on the "zoom" level represented.

I am hoping that I can create a similar experience using an existing control rather than from scratch.

Cheers,
Clint

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 13 Jan 2010, 09:26 AM
Hi Clint Singer,

This is nt supported out of the box. You will need to change the maximum, minimum properties at runtime when the slider value is changin.

Also the ticks collection should be dynamically updated on runtime. This should be all in custom code.

Please let us know if you hit any problems if you decide to go this way.

All the best,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Clint Singer
Top achievements
Rank 1
answered on 13 Jan 2010, 11:14 PM
Mostly I was interested if there were any technical reasons for this not to work. 

So I should be able (from the code behind) change the ticks and min/max points?

Cheers,
Clint
0
Valentin.Stoychev
Telerik team
answered on 14 Jan 2010, 06:59 AM
Hello Clint Singer,

Yes. If you hit any problem please let us know.

Regards,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Slider
Asked by
Clint Singer
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Clint Singer
Top achievements
Rank 1
Share this question
or