We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GridBagLayout with User Control and programmatic control creation.

To make a long story short and save myself from re-typing: http://stackoverflow.com/questions/33420864/programmatic-addition-of-child-controls-to-user-control

Is there some other step that I'm forgetting that actually displays the new children and repaints and remakes the layout?

1 Reply

SK Senthil Kumaran Rajan Syncfusion Team October 30, 2015 01:56 PM UTC

Hi Alex,

Thanks for contacting Syncfusion Support.

We are unable to reproduce the reported behavior with GridBagLayout control. We are able to add the control programmatically with the given code example. We have prepared the sample for your reference and if can be downloaded from the below location.

Sample : https://www.syncfusion.com/downloads/support/forum/120965/ze/GridBag818726323

Please refer the below screenshot for further reference.


Could you check with the attached sample also let us know if it helps? If we have misunderstood your query, please provide some additional details about the reported requirement. it will be helpful for us to analyze and provide you a prompt solution as early as possible.


Live Chat Icon For mobile
Up arrow icon