This question is locked. New answers and comments are not allowed.
Hello,
I currently have a grid with a controller action set on the Update Ajax databinding.
The following is a code snippet of the controller action:
"errors" is a string array that we populate. The errors are later parsed to show up in our view.
However I've noticed that when the GridAction tag is set, only Data and Total are returned in the response. I'm aware that due to using GridAction, the OnActionExecuted will ignore all but a few fields such as Data and Total. Is there a solution to this that preferably does not modify Telerik source code?
Thanks
I currently have a grid with a controller action set on the Update Ajax databinding.
The following is a code snippet of the controller action:
[GridAction(EnableCustomBinding = true)]public ActionResult UpdateData(GridCommand command){ //logic here return Json(new { Data = data, Total = total, Errors = errors });}"errors" is a string array that we populate. The errors are later parsed to show up in our view.
However I've noticed that when the GridAction tag is set, only Data and Total are returned in the response. I'm aware that due to using GridAction, the OnActionExecuted will ignore all but a few fields such as Data and Total. Is there a solution to this that preferably does not modify Telerik source code?
Thanks