Ciel
Ciel

Reputation: 17752

Html.ActionLink with an Image

Does anyone know of a decent way to cleanly use Html.ActionLink helper with an image instead of text without going through a huge amount of replace scripts and the like?

Upvotes: 0

Views: 206

Answers (1)

queen3
queen3

Reputation: 15511

<a href="<%= ${Url.Action("myaction") %>"><img src="img.gif"/></a>

Upvotes: 2

Related Questions