I need to be able to create an id
for a hyperlink.
I have the following:
@Html.ActionLink("Delete", "Delete", new { id = @item.ID}, new {id = "deletelink"})
I was wondering, if there is any better way of doing this? Note that the id
will be deletelink
.