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

[Solved] Telerik Grid and Entity Framework circular reference how to

1 Answer 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
figueiredorj
Top achievements
Rank 1
figueiredorj asked on 08 May 2012, 11:18 AM
Hi.

I am taking experiment on telerik mvc grid.

I have the folowing relation:
  
ClientSet 1-> * PropertySet

When I try to show IEnumerable<PropertySet>  on grid I got the infamous circular reference.

I have tryied some ways to get free of it but until now no good success.
One that I was liking a little bit was using automapper. Somehow it was looking good but after first get grid got broken.. also with Edit ajax popup I would like to go to on my real model and not listing one.

It brings me to an unfortunate experience with grid.
Would it be possible to get a simple example on how to set telerik grid with a relation 1 -> * with all features enabled without fake models?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Pechka
Top achievements
Rank 1
answered on 08 May 2012, 12:14 PM
Tags
Grid
Asked by
figueiredorj
Top achievements
Rank 1
Answers by
Pechka
Top achievements
Rank 1
Share this question
or