This question is locked. New answers and comments are not allowed.
Hi
I'm trying to add a custom column with an Ajax.Actionlink in an MVC Grid, using Razor pages.
The code I've managed to piece together from samples is as follows:
However, when I run the project nothing is displayed in the columns cells
Can someone suggest where I might be going wrong?
Thanks
Mark
I'm trying to add a custom column with an Ajax.Actionlink in an MVC Grid, using Razor pages.
The code I've managed to piece together from samples is as follows:
columns.Template( @<text> @Ajax.ActionLink("Edit", "_MenuItems", new { key = item.id }, new AjaxOptions { Confirm = "Delete this Customer?", UpdateTargetId = "CustomerTable", HttpMethod = "_MenuItems" }) </text> ).Title("Edit");
However, when I run the project nothing is displayed in the columns cells
Can someone suggest where I might be going wrong?
Thanks
Mark