EntityDeveloper Views not showing the Edit Icons
Posted: Tue 27 Jan 2015 21:18
from Customer/Index.cshtml:
When I view this page I get a list of my Customers from the database but no Edit, Details or Delete buttons. I know this is something stupid I am doing but I can't figure it out.
Code: Select all
<div class="btn-group">
<a href="@Url.Action("Edit", new { CustomerId = item.CustomerId })" class="btn btn-mini"><i class="icon-pencil"></i></a>
<a href="@Url.Action("Details", new { CustomerId = item.CustomerId })" class="btn btn-mini"><i class="icon-info-sign"></i></a>
<a href="@Url.Action("Delete", new { CustomerId = item.CustomerId })" class="btn btn-mini"><i class="icon-trash"></i></a>
</div>