I have a jqgrid in MVC. It has a save method specified as:
editurl: '/Invoice/SaveInvoiceLine/',
public void SaveInvoiceLine(InvoiceLine invoiceLine)
{
...
}
What I want to do is do some last minute validation in here. There decide whether to save or not. That will be easy enough. The problem is though if I don't decide to save how do I get a validation message back to the grid to show the reason why?