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

ON/OFF Switch Button

4 Answers 1087 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Terragile
Top achievements
Rank 1
Terragile asked on 07 Apr 2011, 03:16 PM
How do I create a Switch Button control for displaying an ON/OFF button that can be toggled (like the Settings->Airplane Mode on the iphone).

Thanks,

Ed

4 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 12 Apr 2011, 01:10 PM
Hello Terragile,

You could use the RadToggleButton and edit its style/control template. It supports this functionality, so you just have to make the visual changes you needs.

Kind regards,
Petar Mladenov
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
0
Sahana
Top achievements
Rank 1
answered on 14 Jan 2016, 12:42 AM

Hi Petar,

I was also looking to create a switch button like the iPhone style ON/OFF button. Do you have a sample project for the same?

-ST 

 

0
Masha
Telerik team
answered on 15 Jan 2016, 08:00 AM
Hello Sahana,

I sent you a demo  which contained several styles of modified RadToggleButton style which may be helpful.

Please let me know if this works for you.

Regards,
Masha
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Sahana
Top achievements
Rank 1
answered on 15 Jan 2016, 06:23 PM
Thanks Masha! That helps!
Tags
Buttons
Asked by
Terragile
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Sahana
Top achievements
Rank 1
Masha
Telerik team
Share this question
or