RadPanel within UserControl not resizing

3 posts, 0 answers
  1. Kenneth
    Kenneth avatar
    8 posts
    Member since:
    Jul 2010

    Posted 27 Jul 2010 Link to this post

    I have created a custom UserControl.  The structure of the UserControl is,

    UserControl
       RadPanel1
          RadPanel2
          RadStatusStrip

    RadPanel2 is where I draw graphics.  The RadStatusStrip display mouse location information below RadPanel2.  RadPanel1 is sized so that RadPanel2 and RadStatusStrip completely fill the area.

    This UserControl is then placed in a ToolWIndow within a ToolTabStrip within a RadSplitContainer within a RadDock.

    In the initial state, everything works fine.  However, I need to dynamically resize the UserControl when the RadSplitContainer is resized, or when the ToolWindow is undocked and resized.  I also need to resize the UserControl when the ToolWindow is redocked.

    I have tried making the RadPanels the Windows Panel also.  In both cases, I cannot get the Resize event on the Panel or RadPanels to fire to allow me to redraw the contents according to the new size.  I do see the Resize event on the ToolWindow being fired.

    What is the proper way for me to do the resizing of the UserControl and its contents?

    Thanks for any help.


    Ken...
  2. Kenneth
    Kenneth avatar
    8 posts
    Member since:
    Jul 2010

    Posted 27 Jul 2010 Link to this post

    False alarm.

    I recreated my UserControl and things now work as expected.  I must have messed up some properties the first time around.


    Ken...
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 30 Jul 2010 Link to this post

    Hello Kenneth,

    I am glad to hear that everything is working fine now. Do not hesitate to contact us in case of further issues.

    Sincerely yours,
    Boryana
    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
Back to Top