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

All Other Items Become "Disabled" When DropDown Is Open

2 Answers 135 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
intellitechcorporation
Top achievements
Rank 1
intellitechcorporation asked on 04 Oct 2012, 06:55 PM
Telerik Support,

When a user has the DropDown to a ComboBox open, it becomes impossible to focus/click on any other element (seemingly in the entire program) until the DropDown is closed.  I understand that this is the standard behavior even with the regular WPF ComboBox control, so what I'm wondering is if there's any way to change this behavior.

Thanks,

Kyle

2 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 09 Oct 2012, 08:21 AM
Hello Kyle,

Unfortunately there is no way to change this behavior. This is the default behavior of all controls using popup like ComboBox, DateTimePicker, Menu etc..

All the best,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
intellitechcorporation
Top achievements
Rank 1
answered on 22 Jan 2013, 06:57 PM
In case anyone is coming across this and looking for a solution, it's actually incredibly simple.

public class RadComboBoxEx : RadComboBox
    {
        public RadComboBoxEx()
        {
            this.DropDownOpened += new EventHandler(RadComboBoxEx_DropDownOpened);
        }
 
        void RadComboBoxEx_DropDownOpened(object sender, EventArgs e)
        {
            ReleaseMouseCapture();
        }
    }

So far I haven't noticed any drawbacks to this, the dropdown will close once you click any other control that is focusable, and the dropdown still responds to item clicks as you would expect.

Tags
ComboBox
Asked by
intellitechcorporation
Top achievements
Rank 1
Answers by
Boyan
Telerik team
intellitechcorporation
Top achievements
Rank 1
Share this question
or