Instead of using @Html.ActionLink(), just write out the <a> tag yourself. You can use @Url.Action() to get the URL of an action for your HREF attribute.
The @Html helpers are nice, but they won’t always provide the flexibility you need.
Instead of using @Html.ActionLink(), just write out the <a> tag yourself. You can use @Url.Action() to get the URL of an action for your HREF attribute.
The @Html helpers are nice, but they won’t always provide the flexibility you need.