Hi Sean,
Please handle the ComboDropDown.PopupContainer''s BeforePopup event as shown below :
private void PopupContainer_BeforePopup(object sender, CancelEventArgs args)
{
this.treeViewAdv1.Dock = DockStyle.Fill;
this.comboDropDown1.PopupContainer.PopupHost.FormBorderStyle = FormBorderStyle.SizableToolWindow;
if(!(this.comboDropDown1.PopupContainer.PopupHost.Size.Width >= 198))
this.comboDropDown1.PopupContainer.PopupHost.Size = new System.Drawing.Size(198, 150);
// So that the popup container will Fill the entire popup host when resized.
this.comboDropDown1.PopupContainer.Dock = DockStyle.Fill;
}
I have modified my
earlier sample accordingly and have attached here. Please refer to it and let me know if this works for you. Thanks for choosing Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.