ComboBoxExt with dropdown GridListControl

I am trying to create a custom control that inherits Syncfusion.Windows.Forms.Tools.ComboBoxExt. I want it to display a grid as its drop-down list. However, attaching a GridListControl to a ComboBoxExt (by setting it as the ComboBoxExt''s ListControl and PopupControl) only seems to work if the GridListControl is on the same form as the ComboBoxExt. It doesn''t seem to want to work if the GridListControl was created and contained within a class extending the ComboBoxExt class. Is there a way to keep the GridListControl completely contained in an extended ComboBoxExt class so that it doesn''t have to be separately created on the form?

1 Reply

AD Administrator Syncfusion Team May 24, 2005 04:17 PM UTC

Ah, I figured it out. I just needed to set the GridListControl''s Size. I guess it is initialized to 0x0, so it''s basically invisible when it''s dropped down.

Loader.
Up arrow icon