Reputation: 161
I am getting error in passing Multiple Parameters in kendo grid.
What I have done is :
columns.Bound(p => p.EmployeeID).ClientTemplate("<a href='" + @Url.Action("Map", "Employee", new { AccountNo = "#=AccountNo#&" , EmployeeID="#=EmployeeeID" }) + "' class='btn btn-primary'>View</a>").Width(90);
Type a message
Upvotes: 0
Views: 1229
Reputation: 380
It looks like you have a couple syntax errors in the client template:
&
after the #=AccountNo#
value#
in the #=EmployeeeID#` valuecolumns.Bound(p => p.EmployeeID).ClientTemplate("<a href='" + @Url.Action("Map", "Employee", new { AccountNo = "#=AccountNo#" , EmployeeID="#=EmployeeeID#" }) + "' class='btn btn-primary'>View</a>").Width(90);
Upvotes: 3