When utilizing ASP.NET MVC 5, I encountered an issue within my view where I am attempting to incorporate "Edit | Delete" functionality within a table. Strangely, I am able to generate a hyperlink for the Edit function, but not for the Delete function.
Within the view, this is the markup I am using:
<td id="pagefunc">
@Html.ActionLink("Edit", "Edit", new { id = item.POC_Id }) |
<a data-record-id="@item.POC_Id" class="js-delete delete">Delete</a>
</td>
Below is a screenshot of the section showing the edit hyperlink working, but the delete hyperlink not displaying:
https://i.sstatic.net/qyF7u.png
I am unsure of what mistake I might be making and why hovering over the delete link is not generating a hyperlink. Any insights would be appreciated.