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

Self Referencing Grid problem

2 Answers 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
chirag
Top achievements
Rank 1
chirag asked on 25 Sep 2008, 10:19 PM
Hi, I am using a using a self referencing grid as shown in the article http://demos.telerik.com/ASPNET/Prometheus/Grid/Examples/Hierarchy/SelfReferencing/DefaultCS.aspx . It works great,but now I want to show another grid when user clicks on the last level of the heirarchy. Can anyone tell me the best way to do that? I am thinking of using a usercontrol edit form with a grid inside.$0$0$0$0I want to show websites by category, the categories are heirarchycal and one website can belong to more than category at different levels of the heirarchy.$0

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 29 Sep 2008, 02:12 PM
Hi chirag,

Unfortunately the functionality you request is not attainable since each nested level in self-referencing hierarchy grid duplicates its master table definition. Hence if you add another grid in a template of the master table, it will be cloned for each detail level in the self-referencing hierarchy.

Your alternative is to "attach" self-referencing grid in a standard hierarchy presentation as shown in the sample project attached to this forum thread. Feel free to use the presented technique if doable for your particular configuration.

Kind regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
chirag
Top achievements
Rank 1
answered on 29 Sep 2008, 04:10 PM
Thanks for the reply. I ran the attached project and found that it is exatactly the opposite of what an looking for. The employee table should be shown at the last level of heirarchy. I solved the problem my manipulating the data in such a way that it created a heirarchy with employee at the last level, I also had to hide and show certain cells based on the kind of data that is being shown.
Tags
Grid
Asked by
chirag
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
chirag
Top achievements
Rank 1
Share this question
or