All Other Items Become "Disabled" When DropDown Is Open

3 posts, 0 answers
  1. Kyle
    Kyle avatar
    15 posts
    Member since:
    Jan 2011

    Posted 04 Oct 2012 Link to this post

    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. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 09 Oct 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Kyle
    Kyle avatar
    15 posts
    Member since:
    Jan 2011

    Posted 22 Jan 2013 Link to this post

    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.

Back to Top