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

[Solved] DisplayTemplates not called using ClientTemplate

0 Answers 103 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.
Alden
Top achievements
Rank 1
Alden asked on 18 Jan 2012, 12:17 AM
Hi,

I have code like the following in an ajax-bound grid:
c.Bound(o => o.Name).ClientTemplate("<#= Name #> <#= MenteePercentile #> <#= MentorPercentile #>");

But Name, MenteePercentile and MentorPercentile need to be rendered using appropriate partial view Display Temples.  This renders the raw fields and does not invoke the display templates.  How do I get these to invoke their templates?

Thanks.
Tags
Grid
Asked by
Alden
Top achievements
Rank 1
Share this question
or