This question is locked. New answers and comments are not allowed.
Hello ,
I have a server template column in my grid
I want to pass a parameter to the action
but the parameter is dilivered as NULL although the parameter in the context is not null
Here's a sample of my code :
columns.Template(c =>
{
%>
<%= Html.ActionLink(
"ReportLink"
,
"GoToReport"
,
"Home"
,
new
{ patientReportId = c.PatientReportId })%>
<%
}).Title(
"Report Link"
);
})
public
ActionResult GoToReport(
string
patientReportId)
{ ............. }
what is wrong with that?