How do I make a custom ActionLink?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-05-12T21:15:12Z Indexed on 2010/05/12 21:24 UTC
Read the original article Hit count: 139

Filed under:
|

I need to include an image within the <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>

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc