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

Simple dropdown in StatusStrip

1 Answer 158 Views
StatusStrip
This is a migrated thread and some comments may be shown as answers.
Ole
Top achievements
Rank 1
Ole asked on 23 May 2009, 02:32 PM
Is there a simple way of making a simple dropdown combo- or listbox in the StatusStrip control? 

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 May 2009, 08:09 AM
Hi Ole,

Thank you for writing. You can add a RadComboBox in RadStatusStrip using the follow code:

        private void Form1_Load(object sender, EventArgs e) 
        { 
            RadComboBoxElement comboBoxElement = new RadComboBoxElement(); 
            comboBoxElement.Items.Add(new RadComboBoxItem("list1")); 
            comboBoxElement.Items.Add(new RadComboBoxItem("list2")); 
            comboBoxElement.MinSize = new Size(100, 20); 
            this.radStatusStrip1.Items.Add(comboBoxElement); 
        } 

Please refer to the attached project.

All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
StatusStrip
Asked by
Ole
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or