Hi Javier,
Thanks for the update. I do see this problem here. A workaround here would be to handle the PopupControlContainer''s Popup and CloseUp events instead of the BeforePopup event.
this.comboDropDown1.PopupContainer.Popup += new EventHandler(this.PopupContainer_Popup);
this.comboDropDown1.PopupContainer.CloseUp += new PopupClosedEventHandler(this.PopupContainer_CloseUp);
private void PopupContainer_Popup(object sender, EventArgs e)
{
this.comboDropDown1.PopupContainer.HidePopup();
}
private void PopupContainer_CloseUp(object sender, PopupClosedEventArgs args)
{
popupForm = new Form2();
popupForm.BackColor = Color.LightSkyBlue;
popupForm.FormBorderStyle = FormBorderStyle.None;
popupForm.Width = this.comboDropDown1.Width;
popupForm.Height = this.comboDropDown1.Width;
popupForm.StartPosition = FormStartPosition.Manual;
popupForm.Location = this.PointToScreen(new Point(48, 77));
popupForm.ShowDialog();
}
Please refer to the
modified sample attached here that shows this workaround, and let me know if this works for you. Thanks for your interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.