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

ToggledButtons translation

2 Answers 40 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Jesús
Top achievements
Rank 1
Jesús asked on 10 Dec 2008, 09:04 AM
In 2007 Q2 release I detect the toggled buttons using something like myButtonToolbar.Items.ToggleButtons and if I want to know how many toggled buttons I have I typed myButtonToolbar.Items.ToggleButtons.Count and I have this information.

It's possible doing something like this in 2008 Q3 release? I think it's ugly to do a foreach for each item of the toolbar to detect if it's a toggle button or not and count them.

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Dec 2008, 09:42 AM
Hi El senyor dels Bertins,

At the time being traversing the items using foreach is the only solution.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jesús
Top achievements
Rank 1
answered on 11 Dec 2008, 03:36 PM
I suppose that, but I'd want to confirm my suspect.

Thanks.
Tags
ToolBar
Asked by
Jesús
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jesús
Top achievements
Rank 1
Share this question
or