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

[Solved] Self Referencing Hierarchy in Programmatic Grid

1 Answer 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
cmehta
Top achievements
Rank 1
cmehta asked on 08 Apr 2009, 05:15 AM
We are creating the radgrid dynamically in code behind with one bound column and other template columns.

Also, we are using self referencing hierarchy to make heirarchical grid.

We have Autogeneratecolumns=false.

The problem is that level 0 rows are displayed but the child rows are not formed in the hierarchy. It displays 'No child records found'.

Whereas if we don not add dynamic columns and autogenerate them, it works fine.

But we cannot do away with dynamic creation as that is the requirement.

Please provide the solution for same.

Can you please mark a copy of solution to:
chetan.mehta@cognizant.com

Regards
Chetan
Frameworks team, marketRx (A Cognizant company)

P.S: We have purchased Telerik UI suite but raising ticket here since the subscription has expired.
 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 09 Apr 2009, 01:05 PM
Hello Cmehta,

I followed your scenario in order to replicate the issue but to no avail. Find attached a small runnable application with the implementation request by you. Give it a try and see if it works for you or if I am leaving something out.

Regards,
Pavlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
cmehta
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or