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

Supressing Right Click RadComboBox

1 Answer 43 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Bala
Top achievements
Rank 1
Bala asked on 14 Aug 2012, 12:02 PM
Hi,

We are using the Telerik Winforms Q3 2009 SP1.

In that, how to supress right clicks in RadComboBox.

We tried assigning a empty contextstrip to contextstrip property .But it doesn't work.

Is there any way to do this?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Aug 2012, 07:40 AM
Hi Bala,

Thank you for writing.

You should assign an empty context menu strip to the RadComboBox TextBox item. Please, refer to code snippet:
private void Form1_Load(object sender, EventArgs e)
       {
           this.radComboBox1.ComboBoxElement.TextBoxElement.TextBoxItem.HostedControl.ContextMenuStrip = new ContextMenuStrip();
       }

I hope this helps.

Regards,
Peter
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
DropDownList
Asked by
Bala
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or