How do I make a custom ActionLink?
I need to include an image within the &开发者_如何学运维lt;a>
tag of an ActionLink. What is the best way to do this?
The final rendered link should look like this,
<a href="/Home/Test"><img src="test.jpg" />Test</a>
Like this:
<a href="<%= Url.Action("...")"><img src="test.jpg" alt="test" />Test</a>
精彩评论