ComboDropDown and PopupContainerControl

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).


1 Reply

J. J.Nagarajan Syncfusion Team 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


Loader.
Up arrow icon