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 and PopupContainerControl

Thread ID:

Created:

Updated:

Platform:

Replies:

70391 Dec 10,2007 03:58 PM UTC Dec 11,2007 01:55 AM UTC WinForms 1
loading
Tags: Tools
Stefan Smith
Asked On December 10, 2007 03:58 PM UTC

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 11, 2007 01:55 AM UTC

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

;