Supressing Right Click RadComboBox

2 posts, 0 answers
  1. Bala
    Bala avatar
    7 posts
    Member since:
    Jul 2012

    Posted 14 Aug 2012 Link to this post


    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?

  2. Peter
    Peter avatar
    1160 posts

    Posted 17 Aug 2012 Link to this post

    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.

    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top