This is a migrated thread and some comments may be shown as answers.
Grid clientTemplate link column
0 Answers 23 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
James
Top achievements
Rank 1
James asked on 06 Sep 2012, 07:13 AM
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" });

Tags
Grid
Asked by
James
Top achievements
Rank 1
Share this question
or