We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ComboDropDown closing issue

Thread ID:





59574 Apr 17,2007 05:34 PM UTC Apr 18,2007 01:23 PM UTC WinForms 1
Tags: Tools
Michael Sabin
Asked On April 17, 2007 05:34 PM UTC


I am having a problem using the ComboDropDown. I have created a UserControl to act as the DropDown for the combo. This dropdown contains a grid in it. The grid contains combobox cells. Whenever I click on one of the combobox cells, the ComboDropDown's dropdown closes. I need to prevent this.

I have tried to implement the dropdown in the following way:
1. I created the CustomPopupControlContainer mentioned in the knowledge base.
2. I added my UserControl to the CustomPopupContainerControl and set its Dock to Fill

One note about the grid. The grid is added in another UserControl. So my dropdown has a UserControl, that contains a UserControl.

Golda Rebecal [Syncfusion]
Replied On April 18, 2007 01:23 PM UTC

Hi Michael,

You can use the BeforeCloseUp event of the PopupContainer to prevent the popup from closing when ComboBox cell is clicked.

//To prevent popup from closing

private void PopupContainer_BeforeCloseUp(object sender, CancelEventArgs e
e.Cancel = true;

I have attached a sample that illustrates the same. Please have a look at it and let me know if this helps you.

Thanks for your interest in Syncfusion products.


Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon