This question is locked. New answers and comments are not allowed.
I'm building a link within one of my columns. I am using clientTemplate. I would like to pass more parameters in the link. How do I do this? I have the id param but I need to pass like 3 more. They are all columns in the grid.
Here is what I have now.
columns.Bound(column => column.ClaimID).Title("")
.Template(@<text><a href='/Billing/AdjustmentOrTransfer/Index/@item.ClaimID' > Tran/Adj</a></text>)
.ClientTemplate("<a href='/Billing/AdjustmentOrTransfer/Index/<#= ClaimID #>'> Tran/Adj</a>")
.Width(75).Filterable(false).HtmlAttributes(new { style = "text-align:center" });
Here is what I have now.
columns.Bound(column => column.ClaimID).Title("")
.Template(@<text><a href='/Billing/AdjustmentOrTransfer/Index/@item.ClaimID' > Tran/Adj</a></text>)
.ClientTemplate("<a href='/Billing/AdjustmentOrTransfer/Index/<#= ClaimID #>'> Tran/Adj</a>")
.Width(75).Filterable(false).HtmlAttributes(new { style = "text-align:center" });