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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridBagLayout with User Control and programmatic control creation.

Thread ID:





120965 Oct 29,2015 08:05 PM UTC Oct 30,2015 01:56 PM UTC WinForms 1
Tags: GridBagLayout
Alex Gravely
Asked On October 29, 2015 08:05 PM UTC

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?

Senthil Kumaran Rajan [Syncfusion]
Replied On 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 : http://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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon