asp.net mvc actionlink onclick 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();"}) %>