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.
Unfortunately, activation email could not send to your email. Please try again.

How to prevent ComboDropDown derived control within another one from disapearing?

Thread ID:





24467 Feb 4,2005 08:27 AM Feb 4,2005 11:36 AM Windows Forms 2
Tags: Tools
Asked On February 4, 2005 08:27 AM

I have ComboDropDown derived control. Its popup control has another ComboDropDown derived control. User can open dropdowns one from anower. He should be able to, at least. But then he open dropdown the second time (from already opened one) they both disapears. How can I avoid this behavior? I saw some posts here, but still can''t figure out how to do that. Thanks. Alexander.

Administrator [Syncfusion]
Replied On February 4, 2005 10:16 AM

Hi Alexander, To host ComboBoxes within the ComboBoxDropDown''s PopupContainer you would have set the parent child relationship between the popups as shown below : // Setup the parent-child relationship between the // comboboxes'' popup and the ComboBoxDropDown''s PopupContainer private void comboBoxBase1_DropDown(object sender, System.EventArgs e) { this.comboBoxBase1.PopupContainer.PopupParent = this.comboDropDown1.PopupContainer; this.comboDropDown1.PopupContainer.CurrentPopupChild = this.comboBoxBase1.PopupContainer; } Please refer to the test sample attached that illustrates how you could host ComboBoxes with a ComboDropDown''s Popup. Let me know if you need further assistance. We appreciate your interest in Syncfusion. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On February 4, 2005 11:36 AM

Thanks a lot!!! Impressed by your very fast response! This works for me. Alexander.


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.

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.