The disappearance of the child template

2 posts, 1 answers
  1. Jasper
    Jasper avatar
    4 posts
    Member since:
    Jul 2013

    Posted 01 Jun Link to this post

    Hello there,

    I believe I've found a bug in gridview. After adding a childtemplate (1) to a childtemplate (2) of the mastertemplate, any change to the grid will 'disconnect' childtemplate (1) from childtemplate (2).

    To work around, add the following in your *.designer.cs after the changes:

    this.gridTemplate2.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {
        this.gridTemplate1
    });

    Of course, this is incredibly annoying to do every time you change the grid, so I'm hoping another solution is possible.

    Version: v. 2016.1.216.40

  2. Answer
    Dess
    Admin
    Dess avatar
    1601 posts

    Posted 01 Jun Link to this post

    Hello Jasper,

    Thank you for writing. 

    We have a similar issue logged in our feedback portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item.

    Currently, the possible solution that I can suggest is to setup the hierarchy programmatically :  http://docs.telerik.com/devtools/winforms/gridview/hierarchical-grid/binding-to-hierarchical-data-programmatically

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Telerik
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top