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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…