i have the following code in the asp.net mvc view
if (isLoggedInUserAdmin)
{%>
<%=Html.ActionLink("View", "Details", new {id = item.Mail_ID})%>,
<a href='/Users/ConfirmDelete?id= <%=item.Mail_ID%>' class="delete">Delete</a>
<%}
if (userRequiresApproval)
{%>
,<%= Html.ActionLink("Approve", "Approve", new { id = item.Mail_ID })%>
<%}%>
The issue is that it shows up as:
View, Delete , Approve
instead of
View, Delete, Approve
Does anyone know why there would be a space between Delete and the next "," ??