ActionLink with Image in ASP.NET MVC 2

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  { param1 = "blah" } )  %>">
  <img src="../../Content/images/magnifier.png" />

Any simpler solutions?

© 2019 Christopher Schleiden. All rights reserved.

Powered by Hydejack v8.4.0