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

Issue editing a child item in Self Referencing Hierarchy

2 Answers 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 2
Simon asked on 13 Nov 2008, 10:55 AM
Hi

I have a Grid control, using AJAX and User Control Edit Forms working perfectly as I wanted it. The client has now asked for a self hierarchy to be implemented. This is working fine, and everything groups up as expected. However there are two issues:

1) When I click "Add New Row" in a child GridView the Insert form appears at the top level, not at the same level as the child Grid View
2) When I try to edit a Child item, once the screen has refreshed the edit form isn't displayed and the grouping is minimised back to the top level

Any thoughts / pointers appreciated

Cheers

Simon

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Nov 2008, 01:59 PM
Hello Simon,

You can refer to the following code library submission link for achieving the scenario required. The same logic given in the example is applicable for self referencing hierarchy as well.
Retain expanded/selected state in hierarchy on rebind

Thanks
Princy.
0
Ryan
Top achievements
Rank 1
answered on 13 Aug 2010, 03:22 PM
.
Tags
Grid
Asked by
Simon
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Ryan
Top achievements
Rank 1
Share this question
or