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

Self Hierachy issues in RAD Grid

1 Answer 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sagar
Top achievements
Rank 1
Sagar asked on 27 Oct 2010, 05:16 AM
Hi
Issue1:
I am creating self hierarchy grid by using a list it's working fine,but when am generating same with data table it is throwing exception
No property or field '' exists in type 'DataRowView'.

In this scenario if i set EnableLinqExpressions="false" it is working fine,but it grid displaying parent and child hierarchy , problem is it is displaying child rows at parent level as well(two sets of child records one like parent-child relationship and second child records as normal records at parent level)

Issue2:

When I am creating self hierarchy grid with dynamic template columns(template columns are generated programatically )
not able to get hierarchy.

can anybody please suggest me..what is the problem.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 27 Oct 2010, 10:01 AM
Hi Sagar,

Indeed to avoid this error you should set EnableLinqExpressions="false". Note that in case you are using .NET 3.5 or later, you should set the EnableLinqExpressions property of the RadGrid control to false or use Linq syntax for the grid FilterExpression.

Additionally, I am sending you a simple running project that is working as expected. Give it a try and let me know if it helps.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Sagar
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or