Setting Rad button to not clicked.

2 posts, 0 answers
  1. Steven
    Steven avatar
    26 posts
    Member since:
    Jan 2008

    Posted 08 Jun 2010 Link to this post

    Hi, I have a set of Rad buttons ina ribbon group. After clicking a button I want the other button to be set to unclicked. In the image attached, the Edit button was clicked several clicks previosuly but is still ahve the clicked look.

    I am guessing the psuedo code will be something like

    For each button in Ribbon Group
        If button is not this button then
            button.clickedLook = false

    I would like please to clear the selection off a Ribbon Gallery. Pseudo code would be
    For each GalleryItem in Gallery
        selected = false

    Sorry about such a straight forward question but I'm a dumb VB programmer. Please provide the answer in C#.
    Many thanks

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 10 Jun 2010 Link to this post

    Hi Steven,

    Please find attached a sample showing how to achieve these functionalities. Give it a try and let me know how it works. Additionally, you can use our free online c# <-> vb converter.

    Best wishes,
    Kiril Stanoev
    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.
Back to Top