I have an update event but how can I tell the grid the update didn't work out and everything has to be cancelled,
This code doesn't work.
private static async Task MainGridUpdateHandler(GridCommandEventArgs args) { var item = (EmployeeClusterVM) args.Item; if (item.EndDate <= item.StartDate) { args.IsCancelled = true; } try { EmployeeClusterLogic.UpdateEmployeeCluster(item); } catch (Exception e) { args.IsCancelled = true; } }