Hi All,
I'm having what i assume is a simple mistake due to a lack of xmod expirience. I am trying to make a template that is just one step over simple and cannot get deletelinks or editlinks to work. I have also tried images for both and have the same problem.
...
<DeleteCommand CommandText="DELETE FROM am_MonumentOrders WHERE [OrderID] = @OrderID">
<Parameter Name="OrderID" />
...
<table>
<thead>
<tr>
<th> </th>
<th>Customer Name</th>
<th>Order Approved</th>
<th>Artwork Here</th>
<th>Cemetery Name </th>
<th> </th>
</tr>
</thead>
<tbody>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<xmod:DetailImage Text="View Order Details" ImageUrl="~/images/view.gif">
<Parameter Name="OrderID" Value='[[OrderID]]' />
</xmod:DetailImage>
</td>
<td>[[CustomerName]]</td>
<td>[[OrderApproveReceived]]</td>
<td>[[ArtworkHere]]</td>
<td>[[cemeteryname]]</td>
<td>
<xmod:DeleteLink Text="Delete">
<Parameter Name="OrderID" Value='[[OrderID]]' />
</xmod:DeleteLink>
</td>
</tr>
</ItemTemplate>
Any help would be greatly appreciated, Thanks!