The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi, I'm on v6.302 c# winforms using vs2008. I'm trying to implement a ComboDropDown with a grid hosted in the PopupControl of the ComboDropDown. When I try to resize PopupControl the new size does not show unless the dropdown is re-dropped. Is there a way to update/redraw the new size of the PopupControl while it is shown?
AAArun A Syncfusion Team October 10, 2011 09:07 AM UTC
Hi Min,
Thanks for your interest in Syncfusion products.
The following code snippet would help you in achieving your requirement,
this.comboDropDown1.PopupContainer.Popup += new EventHandler(this.BeforeDropDownPopup); private void BeforeDropDownPopup(object sender, EventArgs e) { this.comboDropDown1.PopupControl.Size = new Size (100, 200); }
Please let us now if you need any other details.
Regards, Arun A
MTMin TOctober 10, 2011 11:08 PM UTC
Hi Arun, Thanks for your reply. I think I may not have been clear with my question. What I would like is to be able to resize the PopupContainer / PopupControl when it is already shown and the size changes in real time by dragging its borders (just like resizing a form by dragging the borders).
Is there a way to achieve this?
Thanks.
AAArun A Syncfusion Team October 11, 2011 10:19 AM UTC
Hi Min,
Thanks for your update.
ComboDropDown popup cannot be resized using mouse dragged during runtime but we can change the size of the popup width using DropDownWidth property.