Prevent Collapsed Group Popup from Closing

3 posts, 0 answers
  1. Geoffrey
    Geoffrey avatar
    23 posts
    Member since:
    Mar 2011

    Posted 04 May 2016 Link to this post

    When the ribbon group is in collapsed mode and it contains a combo box, how can I prevent the group from closing when an item in the combo box is selected? It's causing some unwanted behavior due to other events attached to the combo box, which doesn't happen when the group is not collapsed.

  2. Dinko
    Dinko avatar
    442 posts

    Posted 09 May 2016 Link to this post

    Hi Geoffrey,

    In order to prevent the collapsing of the group when an item from the RadRibbonComboBox is selected you can subscribe to the SelectionChanged event of the RadRibbonComboBox and handle the event. This way the event will not bubble to his parent, which in your case is the ribbon group.
    private void RadRibbonComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        e.Handled = true;

    Hope this information is useful.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Geoffrey
    Geoffrey avatar
    23 posts
    Member since:
    Mar 2011

    Posted 09 May 2016 in reply to Dinko Link to this post



    I was hoping there would rather be a property on the ribbon as I have multiple combo boxes, checkboxes, etc, but this seems to have done the trick.


    Thank you :)

Back to Top