Here is my code, i am not able to send request to server with parameter on button click.
<td>
@Html.ActionLink("Edit", "Edit", new { Id = Data.StudentId })
</td>
Home / DeveloperSection / Forums / Send request to server with parameter in mvc razor view
Here is my code, i am not able to send request to server with parameter on button click.
<td>
@Html.ActionLink("Edit", "Edit", new { Id = Data.StudentId })
</td>
Hemant Patel
06-Dec-2017Hi Aarush,
After analyzed your code i have found that you are missing "@" in your parameter.
Kindly follow given line of code: