// <a ...> // <img src="imgUrl" class="imgCssClass"/></img> // </a> public static MvcHtmlString ActionLinkImg(this AjaxHelper ajaxHelper, string imgUrl, string actionName, string controllerName, AjaxOptions ajaxOptions, string imgCssClass, object routeValues = null, object htmlAttributes = null) { CheckNotNull(actionName, controllerName); var tagString = TagBuilderHelper.Img(imgUrl, imgCssClass); var actionLink = ajaxHelper.ActionLink(linkText: @"[replacetext]", actionName: actionName, controllerName: controllerName, ajaxOptions: ajaxOptions, routeValues: routeValues, htmlAttributes: htmlAttributes).ToHtmlString(); return(new MvcHtmlString(actionLink.Replace(@"[replacetext]", tagString))); }