UserControl with RadLayoutControl will crash if trying to add more controls

2 posts, 0 answers
  1. Vincent F
    Vincent F avatar
    2 posts
    Member since:
    Jan 2016

    Posted 02 Jan Link to this post

    Hi,

     If I place a RadLayoutControl into a UserControl, then trying to add any toolbox controls into it,

    Visual Studio will crash.

     Using Visual Studio 2013 Update 4

    Telerik Winforms version: 2015.2.728.40

    If I place RadLayoutControl into a WinForm/RadForm, then try to add controls into it will be fine.

     Looks like the RadLayoutControl needs to reside in a form instead of UserControl? Don't know this is a bug or it is meant to be.

    What I'm trying to do is design UserControls which can be loaded into RadDock's document windows at runtime. 

     

    Best Regards,

     

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 04 Jan Link to this post

    Hello Vincent, 

    Thank you for writing.

    This is a known issue which is resolved in the latest version. The issue details are located here: FIX. RadLayoutControl - Visual Studio crash when one adds a control to RadLayoutControl which is contained in a custom user control.

    To workaround this with the old version you can use a form instead of user control. The following article shows how you can add the form to a dock window: Dock a form.

    Please let me know if there is something else I can help you with. 
     
    Regards,
    Dimitar
    Telerik

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top