I\'m using the Ajax.ActionLink helper to generate a link to delete a record. This is the code:
Ajax.ActionLink(\"Delete Image\", \"DeleteImage\", new { id =
To pass a parameter, an anonymous function won't work, you need to do something like this:
OnSuccess = String.Format("Test({0})", param)