I have a ListView control, and I need to call a partial view to render part of the template contents. This can't be passed via the ListView data source, as its a more expensive query, and should only be called for the records shown on the current page.
I have tried the code below, but it only gets called once, passing in an empty parameter.
<script type="text/x-kendo-tmpl" id="template">
<div>
<p>#=Name# <span>@Html.Action("ReportTags", "Search", new { reportKey = "#=ReportKey#" })</span></p>
</div>
</script>
I need the functionality offered by the LoadContentFrom method in the tabstrip, but as part of the template.
I tried looking at the databound event, but this only gets called once per page, not per record.
Thanks
NB: I have to say the change to the forums makes it harder to browse for solutions by control, which is something I found useful.