Clicking on a button after checking check box in MultiselectionComboBox does not trigger button's click event

3 posts, 0 answers
  1. Victor
    Victor avatar
    1 posts
    Member since:
    Feb 2012

    Posted 28 Jan 2016 Link to this post


     I am trying to use RadComboBox with check box items - using this MultiselectionComboBox

    Then I added a button to this view and after checking some check boxes I click on this button - nothing happens and I need to click on it second time in order to trigger the desired action.

    Looks like one click is "wasted" on closing the combobox. Is there any way to prevent this so that after checking any check box in combobox clicking on the button will actually trigger button click event?




  2. Nasko
    Nasko avatar
    698 posts

    Posted 01 Feb 2016 Link to this post

    Hi Victor,

    The observed behavior is not related with RadComboBox, but it is one caused by the Framework itself - if you replace RadComboBox with the native WPF ComboBox the exact same behavior will be observed. However, still we were able to find an approach that could help you achieve the desired - please, check the following link:

    Basically, it demonstrates how to move the focus to the Button when the Popup gets clicked. We have also modified the sample you sent us with it and it seems it works as expected - attached you could find the modified project.

    We hope this will help you.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Victor
    Victor avatar
    1 posts
    Member since:
    Jan 2016

    Posted 01 Feb 2016 Link to this post

    Thank you.

    I thought so but wanted to see if you have any good solution. And it works.

    Actually, I had this before asking you:

             private void RadComboBox_OnDropDownClosed(object sender, EventArgs e)

                if (BtnClickMe.IsMouseOver)
                    Button_Click(sender, null);

    and it works too.

    Thanks again.


Back to Top