开发者

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())

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜