onclick html.actionlink code example
Example: .net mvc javascript function call link
<%= Html.ActionLink("linky", "action", "controller", new { onclick = "someFunction();"}) %>
<%= Html.ActionLink("linky", "action", "controller", new { onclick = "someFunction();"}) %>