RabButton in RadGroupbox or GroupBox

5 posts, 0 answers
  1. Sven Nilsen
    Sven Nilsen avatar
    2 posts
    Member since:
    May 2009

    Posted 29 Mar 2010 Link to this post


    I have a usercontrol with 3 groupboxes. All boxes have to or three RabButtons. One of them scale buttons to big at runtime. When adding new buttons in a new groupbox the same thing happens again. Both groupbox and radbutton looks ok in design, but at runtime buttons scale to big. Buttons added directly to the usercontrol works fine.

    I have tried both System.Windows.Forms.GroupBox and RadGroupBox, with same result.

    Any idees?
  2. Victor
    Victor avatar
    1358 posts

    Posted 01 Apr 2010 Link to this post

    Hi Sven Nilsen,

    Thank you for the question.

    This looks like an issue we previously experienced which turned out to be related to the windows forms anchoring mechanism. Please try different anchoring settings or turn anchoring off if suitable. We are currently researching where exactly the problem comes from and will address it once we find it, if possible.

    Thank you for your understanding.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Alfonsina
    Alfonsina avatar
    13 posts
    Member since:
    May 2012

    Posted 04 Jul 2012 Link to this post

    Hello Telerik Team,

    I´m trying to add a RadLabel into a RadGroupBox programatically like this:

    RadGroupBox time = new RadGroupBox();
    time.Text = "Zeit Wahl";
    time.Left = 20;
      time.Top = 280;

    RadLabel labelTime = new RadLabel();
    labelTime.Text = "Zeitintervall von/bis wählen:";
    labelTime.Left = 20;
    labelTime.Top = 290;



    But it doesnt work for me, I see the groupBox but the label is not there, any suggestions?

    Thanks very much

    Kind regards,


  4. Nikolay
    Nikolay avatar
    1805 posts

    Posted 04 Jul 2012 Link to this post

    Hi Alfonsina,

    The default size of RadGroupBox is 200x100, but you are trying to set the location of the RadLabel to (20, 290) which exceeds the bounds of the default RadGroupBox. In order to see your RadLabel, you should either set the Size of RadGroupBox to a a bigger value or set the Top property of the RadLabel to a value smaller than 100.

    I hope this helps.

    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  5. Alfonsina
    Alfonsina avatar
    13 posts
    Member since:
    May 2012

    Posted 05 Jul 2012 Link to this post

    Hello Nikolay,

    Thanks you very much, its working !!

    kind regards,


Back to Top