I have the follwoing HTML to show image actions inside a table element:
<%= Html.ActionLink("[EditImg]", "Edit", new { id = item.GrossBaseReconId }, new { id = "BaseReconEdit", rowsid = item.GrossBaseReconId }).Replace("[EditImg]", "<img src='/Content/images/page_white_edit.png' alt='Edit Details' title='Edit Details'>")%>
<%= Ajax.ImageActionLink("/Content/images/delete.jpg", "Delete", "DeleteElement", new { id = item.GrossBaseReconId }, new AjaxOptions { OnSuccess = "DeleteGrossBasedRecon", Confirm = "Delete Gross Recon?", HttpMethod = "Delete" })%>
I add and edit using JQuery and JSON and need to refresh or add to my table on POST.
My question is: Is there anyway I can use JSON to render these links into my table when I edit or insert a row?
I'm not sure how to build up the string correctly.
Thanks in advance