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

Setting Rad button to not clicked.

1 Answer 26 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 08 Jun 2010, 11:19 PM
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

Steven

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 10 Jun 2010, 03:24 PM
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.
Tags
Buttons
Asked by
Steven
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or