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.
Syncfusion Feedback

ComboDropDown and PopupContainerControl

Thread ID:

Created:

Updated:

Platform:

Replies:

70391 Dec 10,2007 10:58 AM Dec 10,2007 08:55 PM Windows Forms 1
loading
Tags: Tools
Stefan Smith
Asked On December 10, 2007 10:58 AM

How can I assign a custom PopupContainerControl for use in a ComboDropDown? The ComboDropDown.PopupContainer property is readonly. I would like to be able to override a PopupContainer method (specifically, OnCloseUp() so that I can alter the value of e.PopupClosedEventArgs before the subscribing class is alerted).


J.Nagarajan [Syncfusion]
Replied On December 10, 2007 08:55 PM

Hi Stefan ,

You can assign the popupControlContainer to the PopupControl property of comboDropDown to show the Popup. Please refer to the following code snippet.

this.comboDropDown1.PopupControl = this.popupControlContainer1;
this.comboDropDown2.PopupControl = this.popupControlContainer2;

Please refer to the attached sample that demonstrates this completely.

http://websamples.syncfusion.com/samples/Tools.Windows/F70391/main.htm

Let me know if you have any other questions.

Thanks,
Nagaraj


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.

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

;