cschleiden
Published on

ActionLink with Image in ASP.NET MVC 2

Authors

As far as I know, this is one of the simplest ways to insert an ActionLink into your ASP.NET MVC 2 View with an image instead of text:

<a href="<%: Url.Action("Detail", new blah ) %>"> <img src="../../Content/images/magnifier.png" /> </a>

Any simpler solutions?