Html.ActionLink("", "ActionResult", new { CustomerId= DataBinder.Eval(c.DataItem, "CustomerId") }, new { target = "_blank", @style = "background-image:url(/Image/edit.png); width:50px; height:30px;" }));
Hello there,
I am facing an issue setting an image for my action link as it always appears empty.
Could someone advise me on how to set an image to an html.actionlink?
I am looking to have the action link display as an image (like an image button).
Please refrain from suggesting the usage of a href.
Your assistance in this matter is greatly appreciated.
Thank you.