This question is locked. New answers and comments are not allowed.
Jeremy Coenen
Top achievements
Rank 1
Jeremy Coenen
asked on 27 Oct 2010, 09:01 PM
I have a Telerik MVC Grid that lists a bunch of employees and their direct reports so the data and columns in the parent grid are the same as the details grid.
Everything works fine and as long as I use the columns.bound(o=>o.ColumnName) for the details grid the correct values show up.
However once I add a ClientTemplate() and reference the columns like <%= ColumnName %> it pulls in the values from the parent grid instead of the values for the detail grid row I am referencing. Am I suppose to be referencing the data items for a details grid differently that what I described?
Everything works fine and as long as I use the columns.bound(o=>o.ColumnName) for the details grid the correct values show up.
However once I add a ClientTemplate() and reference the columns like <%= ColumnName %> it pulls in the values from the parent grid instead of the values for the detail grid row I am referencing. Am I suppose to be referencing the data items for a details grid differently that what I described?
5 Answers, 1 is accepted
0
Hello Jeremy Coenen,
Atanas Korchev
the Telerik team
I couldn't reproduce this behavior. Could you please provide a sample project?
Regards,Atanas Korchev
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
0
Jeremy Coenen
Top achievements
Rank 1
answered on 28 Oct 2010, 02:43 PM
See attached sample project. When you expand Mickey Mouse for example - the details records using just plain column bound show the correct details for EmployeeId,Name, and manager - but then if I put those same values in a ClientTemplate it always shows the parent data and not the child.
Thanks for your help
Jeremy
Thanks for your help
Jeremy
0
Accepted
Hi Jeremy Coenen,
Atanas Korchev
the Telerik team
You seem to be using the beta version of the Q2 2010 release. It indeed had the described bug. Upgrading the the current official release (Q2 2010 SP1) solves the problem.
Kind regards,Atanas Korchev
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
0
Jeremy Coenen
Top achievements
Rank 1
answered on 28 Oct 2010, 03:04 PM
Thanks - what's the best way to stay up to date with the official releases for the MVC controls?
0
Hello Jeremy,
You can monitor regularly the announcements on this page and subscribe to the release history feed on it.
Greetings,
Sebastian
the Telerik team
You can monitor regularly the announcements on this page and subscribe to the release history feed on it.
Greetings,
Sebastian
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