AD
Administrator
Syncfusion Team
March 18, 2005 04:56 PM UTC
Hi Oliver,
It appears that the ListBox doesn''t populate it''s Items collection until after it''s been displayed. You can workaround this by "flashing" the Popup momentarily. And by setting the ListBox to be invisible, you can prevent any additional flicker. The following code snippet demonstrates this:
listBox1.Visible = false;
this.dropDownBarItem1.PopupControlContainer.ShowPopup(new Point(0,0));
this.dropDownBarItem1.PopupControlContainer.HidePopup();
listBox1.Visible = true;
Hope this helps.
Regards,
Gregory Austin
Syncfusion Inc.