Views: 20.6K
Replies: 1
Archived
|
How to include a JavaScript call in an @Html.ActionLink?Hi:
I have the following code for an ActionLink: @Html.ActionLink("TextLink", "Action", "Controller", new { name= "Name1",address="Address1" },null ) Regards Ajeesh Ajeesh John, Feb 28, 2013
|
|
Reply 1I found this on StackOverflow:
<%= Html.ActionLink("linky", "action", "controller", new { onclick = "someFunction();"}) %> Orlando Owens, Mar 12, 2013
|