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.

Popup Container used by popupmenu disappears selecting syncfusion control

Thread ID:

Created:

Updated:

Platform:

Replies:

103508 May 8,2012 02:30 PM Aug 21,2012 12:00 AM Windows Forms 4
loading
Tags: Tools
Chris Bishop
Asked On May 8, 2012 02:30 PM

Hi,

I have been trying to solve a problem where a popupcontainer disappears when I select a syncfusion comboboxadv but not when I select a windows.forms.combobox.

I read this FAQ and created a custom popupcontainer that overrides the IsRelatedControl.

This fixed the popupcontainer if it is programmatically opened.  This does not stop the popupcontainer from disappearing if opened using a popupmenu.  Also the FAQ breaks the default behavior and closes regardless of what control is selected.


Popupmenu and popupcontainer_58365876.zip

Chris Bishop
Replied On May 8, 2012 02:32 PM

Using Windows.Forms 8.404.0.10 in VS 2010 on XP

Administrator [Syncfusion]
Replied On May 14, 2012 09:53 AM

Hi Chris Bishop,
 
By setting the PopupControlContainer as the popup parent for comboxbox'x popupcontainer, you can avoid closing of the combobox's dropdown.
 
void comboBoxAdv1_DropDown(object sender, EventArgs e)
{
            comboBoxAdv1.PopupContainer.PopupParent =dropDownBarItem1.PopupControlContainer;
            dropDownBarItem1.PopupControlContainer.CurrentPopupChild = comboBoxAdv1.PopupContainer;             
}
 
Please let us know if you need any other details.
 
We are glad to help you on this.
 
Regards,
Thillai. C
 

 


CS_9009320c.zip

Chris Bishop
Replied On May 15, 2012 12:12 PM

Thank you,

That worked.

Selva Ganapathy K [Syncfusion]
Replied On August 21, 2012 12:00 AM

Hi Chris,

Thanks for the update.

We are glad to help you out.

Regards,

Selva Ganapathy K

CONFIRMATION

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.

;