How can I pass parameters to the OnSuccess function of the AjaxOptions class in ASP.NET MVC?
- by Bryan Roth
How can I pass parameters to the OnSuccess function of the AjaxOptions class in ASP.NET MVC?
Here's my code but it doesn't work:
<%= Ajax.ActionLink("Delete",
"Delete",
"MyController",
New With {.id = record.ID},
New AjaxOptions With
{
…