I'm using Ajax binding, with the Destroy command. The controller method fails with a business exception, which I add to the ModelState with the AddMModelError method. This is then returned at the end of the method with the ModelState.ToDateSourceResult().
In the UI I have the error event of the grid hooked up, which correctly displays the error as expected. However, the "deleted" row is still removed from the Grid. Am I doing something wrong?
In the UI I have the error event of the grid hooked up, which correctly displays the error as expected. However, the "deleted" row is still removed from the Grid. Am I doing something wrong?