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

How to use telerik slider with a play and pause button. Slider Should move till end when we press Play button automatically

2 Answers 144 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Chandan
Top achievements
Rank 1
Chandan asked on 07 Apr 2015, 06:02 AM
i want a video player kind of functionality in Slider. The slider movement should be handled from play ,pause or stop button 

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 08 Apr 2015, 12:34 PM
Hi Chandan,

All you need to do is to use the Value property of the Slider - by changing the value programmatically , the Slider's Thumb will be moved automatically. The rest is of the work is a code to update the Value accordingly, for example while playing, you will probably need a Timer with Tick event which fires frequently and you calculate and set the next Value based on the current video progress. 

Regards,
Petar Mladenov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Chandan
Top achievements
Rank 1
answered on 09 Apr 2015, 12:27 PM
Thanks (:
Tags
Slider
Asked by
Chandan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Chandan
Top achievements
Rank 1
Share this question
or