iPhone-style toggle button?

5 posts, 0 answers
  1. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 03 Sep 2015 Link to this post

    Hi,

    I am not sure if this is a job for the RadButton or a checkbox but I want to know if it is possible to have a control styled like the iPhone's On/Off slider button?

  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 03 Sep 2015 Link to this post

    Hi,

    The idea for such a toggle button is in our ToDo list for Q1 2015. In the meantime, you can use the solution provided in this feedback item: Switch Button as well as vote for its implementation.


    Kind regards,
    Rumen
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 03 Sep 2015 in reply to Rumen Link to this post

    Ouch!  thanks Rumen
  5. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 04 Sep 2015 Link to this post

    Hi Rumen,

    I tried the code in the article you mentioned but it doesn't display properly. I used Metro them and edited accordingly but it just shows two images next to each other and swaps them when each radio button is clicked.

    Is this the only way to achieve an iPhone styled on/off?

  6. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 09 Sep 2015 Link to this post

    Hi Al,

    The provided example is just for illustration purposes - how to override RadFormDecorator radio button sprite images in order to simulate a switch button. You can, however, share you ideas about the feature in the public feedback item, provided by my colleague.

    Regards,
    Danail Vasilev
    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017