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

[Solved] Fetching self-referencing child nodes on run time

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atul Katiyar
Top achievements
Rank 1
Atul Katiyar asked on 10 Jul 2009, 06:01 AM
Hi,

I want to show call tree (caller-callee nodes) in a (self-referencing) grid. The constraint is, child nodes are only fetched from the database when the root node is expanded (by clicking the the exapander of the root node). I could populate the grid statically (when NeedDataSource event is called). Can anyone please describe high level steps to do it dynamically ?



Thanks,
Atul

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 13 Jul 2009, 01:09 PM
Hi Atul,
 
I am not sure I understand the requirement. RadGrid's self-referencing hierarchy works only when you have some hierarchy defined in a single piece of data source. Therefore, you need to fetch all of it from the database when RadGrid initializes.

Can you tell me what you have done exactly so that we can covert it all to dynamic code-behind initialization.

Regards,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Atul Katiyar
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or