This is a migrated thread and some comments may be shown as answers.

The disappearance of the child template

1 Answer 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jasper
Top achievements
Rank 1
Jasper asked on 01 Jun 2016, 01:32 PM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 01 Jun 2016, 01:45 PM
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.
Tags
GridView
Asked by
Jasper
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or