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

Values for ClientTemplate on Details Grid

5 Answers 31 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.
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?

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 28 Oct 2010, 06:42 AM
Hello Jeremy Coenen,

 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
0
Accepted
Atanas Korchev
Telerik team
answered on 28 Oct 2010, 03:00 PM
Hi Jeremy Coenen,

 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
Sebastian
Telerik team
answered on 28 Oct 2010, 03:24 PM
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
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
Jeremy Coenen
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jeremy Coenen
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or