我在我的cshtml中有Telerik Grid,它在Telerik Grid中有兩個自定義列命令。現在自定義命令呈現爲按鈕,我希望它們顯示爲鏈接而不是按鈕。是否有可能?如何實現它?自定義命令作爲LinkButton而不是Telerik Grid中的按鈕ASP.NET MVC
自定義列命令代碼如下
columns.Command(commands => commands
.Custom("Edit")
.Text("Edit")
.SendState(false)
.DataRouteValues(route =>
{
route.Add(o => o.SuppliersInvoiceNumber).RouteKey("InvoiceNumber");
})
.Ajax(true));
columns.Command(commands => commands
.Custom("remove")
.Text("Delete")
.SendState(false)
.DataRouteValues(route =>
{
route.Add(o => o.PONumber).RouteKey("PONumber");
})
.Ajax(true));