This question is locked. New answers and comments are not allowed.
Hi,
I am having trouble inserting two Html.ImageLink controls into a Grid. The following is just a quick demo of what I am attempting to achieve..
I need to pass the value of the lambda expression to the 'Delete' and 'Update' method.
Can you please suggest the correct syntax form for MVC3 and Razor or point me to an example which uses this feature as I could not locate one on this site.
Thanks as ever.
Les
I am having trouble inserting two Html.ImageLink controls into a Grid. The following is just a quick demo of what I am attempting to achieve..
columns.Bound(c => .ClientTemplate( Html.ImageLink("Delete", "~/Content/Images/rsCancel15x19.png", "border:none;", "Delete", new {id = c.ClassificationID}, 20, 10) + " " + Html.ImageLink("Update", "~/Content/Images/rsEdit15x19.png", "border:none;", "Edit", new { id = c.ClassificationID }, 20, 10); ).Title("Actions");I need to pass the value of the lambda expression to the 'Delete' and 'Update' method.
Can you please suggest the correct syntax form for MVC3 and Razor or point me to an example which uses this feature as I could not locate one on this site.
Thanks as ever.
Les