This question is locked. New answers and comments are not allowed.
I've got the grid working, paging works. I would like to be able to specify my ClientTemplate as I do with my columns.Template (i.e. Use Url.Action and Url.Content). I can't get the doggone syntax to work correctly.
Here's the top of my view file:
@model List<SW_Admin_MVC.Models.ParticipantInfo> @{ Html.Telerik().Grid(Model).Name("ResultsGrid").Columns(columns =>{
columns.Template(
@<text>
<a href="@Url.Action("HideRowPerm", "Home", new {id = item.MemberKey, useMock = false.ToString()})" onclick="javascript:return ConfirmHiding();" >
<img src="@Url.Content("~/Content/themes/base/images/hide.png")" alt="Hide Perm" style="border: none;" /></a>
</text>)
.HeaderTemplate(@<text>Hide Row <br />Perm </text>)
.ClientTemplate(
@"<a href=""/Home/HideRowPerm/<#= MemberKey #>""><img src=""/Content/themes/base/images/Hide.png"")></a>")
.Width(15).HeaderHtmlAttributes(
new { style = "text-align:center" }) .HtmlAttributes( new { style = "text-align:center" });text>)