Telerik MVC ASPX ClientTemplate
I need to convert this to ASPX formate.
ClientTemplate(@"<a href=""/EditOffLine/Edit?id=<#= ItemId #>"">Edit</a>")
My column Template is:
开发者_如何学C columns.Template(item => Html.ActionLink("Edit", "EditOffLine", new { id = item.ID })).Title("Edit").Width(10);
When I sort or filter the grid, Edit will be lost? I think the client Template would help. Thanks in advance.
I Found the answer, here it is just in case someone is having the same issue: ClientTemplate(Html.ActionLink("Edit", "EditOffLine", new { id = "<#= ID #>" }).ToString())
精彩评论