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

How to add radcombobox to ribbon control

6 Answers 111 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
iduarte
Top achievements
Rank 1
iduarte asked on 15 Sep 2008, 07:02 PM
Hi, I don't find the option to add a radcombobox to the ribbon control, can someone help me...?$0$0$0$0Thanks$0

6 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 16 Sep 2008, 09:57 AM
Hi iduarte,

Thank you for your question.

First you should create a button group to hold the combobox in a ribbonbar chunk which you can do either in design time or programmatically. Please refer to the following code snippet about adding the radComboboxElement to the radRibbonBarButtonGroup:

using Telerik.WinControls.UI;  
 
...  
 
private void Form1_Load(object sender, EventArgs e)  
{  
    this.radRibbonBarButtonGroup2.Items.Add (new RadComboBoxElement());  

Feel free to contact me if you have any further questions.
 

Greetings,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
it-workz
Top achievements
Rank 1
answered on 19 Oct 2008, 12:04 PM
You would not be able to tell me were to find the add radcombobox option in the designer, now would you?
I can add all kinds of check box and buttons to it, but the combobox is not in the add item list off the designer. I inspected the example name "first look" and it's definitely in the designer code, but I can't figure out how to get it there.... Even in the example I can't see the option in the selection list to add a comboxbox the the same place there already is one.

fyi I'm using vs2005 and the latest release of the winform controls.
0
Nick
Telerik team
answered on 20 Oct 2008, 04:22 PM
Hi Bob Krusemeijer,

Unfortunately, there is no way to add a combobox to ribbonbar in design time in the current version. You can do it only through code.

Sorry for the introduced inconvenience.

 
Kind regards,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
it-workz
Top achievements
Rank 1
answered on 20 Oct 2008, 07:13 PM
So that means that the example as shown in the demo name "first look" for ribbon is actually not reproducible with the current version? That would be weird.

I put the code of the example in visual studio's designer generated file and it works flawless. It's just the automation that's gone. And it means I have to clutter my code, if it don't wan't to keep messing with the designer file. which is not recommended.

When will the ability to add the radcomboboxelement thru the designer be restored?
0
Nick
Telerik team
answered on 21 Oct 2008, 09:40 AM
Hi Bob Krusemeijer,

You are correct about the example. Again sorry for the introduced inconvenience. I can assure you that this design time fix is in our ToDo list and has high priority.

Feel free to contact me back if you have further questions or comments.
 

Kind regards,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
it-workz
Top achievements
Rank 1
answered on 24 Oct 2008, 09:19 AM
I will be anticipating the next release with fix then. They are great controls nonetheless.
Tags
RibbonBar
Asked by
iduarte
Top achievements
Rank 1
Answers by
Nick
Telerik team
it-workz
Top achievements
Rank 1
Share this question
or