neel k

neel k

  • NA
  • 143
  • 132.3k

Embed an image in Html.ActionLink

Sep 19 2014 5:13 PM
hi,
 
This is my ActionLink in MVC 5
 
 
@Ajax.ActionLink("Compare", "_CompareCustomerDetails", new { ExistingCustomerId = item.customer_id, NewCustomerId =TempData["NewCustomerID"] }, new AjaxOptions()
{
HttpMethod = "Get",
UpdateTargetId = "divCustomerCompare",
InsertionMode = InsertionMode.Replace
},
new { id = "lnkCompare" })
 
In  this I need to insert image instead of text (Compare). How can I do this.
 
 
Thanks.