开发者

Telerik MVC ASPX ClientTemplate

开发者 https://www.devze.com 2023-04-05 20:06 出处:网络
I need to convert this to ASPX formate. ClientTemplate(@\"<a href=\"\"/EditOffLine/Edit?id=<#= ItemId #>\"\">Edit</a>\")

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

精彩评论

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