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

[Solved] Self Hierarchy Grid's Child Rows bounded twice Issue

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ananda Kumar A
Top achievements
Rank 1
Ananda Kumar A asked on 20 Oct 2009, 06:03 PM
The Self Hierarchy grid's Child rows bound correctly if we bind the grid source in the Page Load event.
If we bind the Self  Hierarchy Grid in the button click event the child rows are bounded twice. The child rows first bound with the parent row and also bound as row which has no child records.
We used datatable as to bind the grid and rest of the things are same as explained in the below exmaple link
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 23 Oct 2009, 02:41 PM
Hi Ananda Kumar A,

Complex features like hierarchy, grouping, custom edit forms, etc. are supported with advanced binding with NeedDataSource event handling or data source controls only. Hence you will need to modify your logic to utilize one of these binding modes and build your self-referencing hierarchy.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Ananda Kumar A
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or