title: Implementing ASP.NET MVC Ajax.ActionLink with Image
body: <p>I'm trying to implement the Ajax helper as per the previous question at <a href="https://stackoverflow.com/questions/341649/asp-net-mvc-ajax-actionlink-with-image">ASP.NET MVC Ajax.ActionLink with Image</a></p>
  
  <p>Using Asp.net MVC 3</p>
  
  <p>When I try to add the class the line return link.Replace("[rep.... gives and error for the "link.replace" code, saying "System.Web.Mvc.MvcHtmlString' does not contain a definition for 'Replace' "</p>
  
  <p>Can anyone advise on this? I also get the same error if I download the referenced project </p>
  
  <p>Thanks</p>
  
  <p>Mark</p>