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

Toggle Button + Items (Dropdown)

1 Answer 52 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Patrick Barranis
Top achievements
Rank 1
Patrick Barranis asked on 29 Aug 2011, 09:38 PM
Hi.  I would like to have a RadToggleButtonElement on my ribbon bar, but I would also like it to be able to have items (aka children, aka a dropdown menu).  This may sound strange, but if you open Microsoft Word you'll see what I mean with the "bullet" button - it allows you to turn bullets on or off (toggle), but it also has a dropdown to allow you to set the bullet style.

I don't see the ability to add items to a RadToggleButtonElement in the RadRibbon.  Is there a way to do this in the 2011 Q1 SP1 release (or was it added in 2011 Q2) ?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 01 Sep 2011, 03:09 PM
Hello Patrick,

Thank you for writing.

You can emulate such a behavior by using RadSplitButtonElement and customize its appearance when pressed, to emulate toggle state. Please refer to the attached project, where you can observe sample implementation.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
 
Greetings,
Stefan
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
RibbonBar
Asked by
Patrick Barranis
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or