I need to open a view in a new tab in an MVC application from a table button.
I want to pass the data row from table to the new page.
This is the table:
@if (Model.Rows != null)
{
foreach (var row in Model.Rows)
{
<tr>
<td>@Html.ActionLink(" ", "Download", "Controller", new { @class = "glyphicon glyphicon-pencil", @title = "Modify" })</td>
<td>@row.Progressivo</td>
<td>@row.Committente</td>
<td style="display:none;">@row.CommittenteId</td>
<td style="display:none;">@row.CorriereId</td>
</tr>
}
}
What is the best mode to implement this solution in MVC?
Thank you