Hi Ditchford,
Thanks for contacting Syncfusion support.
Query: “I can catch the error in the ActionFailure event of the Grid, but I would like to be able to catch it in the event that fires when the button is pressed (see screenshot below). Is this possible?”
We have analyzed your query and we understand that you want to catch exception in your button click event instead of OnActionFailure event of Grid. But we afraid it is not possible to achieve your requirement. Because in our source itself we have used to try and catch method to trigger the OnActionFailure event. So it is not possible to trigger multiple catch clause of same types for single try event.
So we suggest you to achieve your requirement using OnActionFailure event of the Grid to catch the exception thrown during a default Grid action. Please get back to us with more details if you are facing any trouble in accessing the error in OnActionFailure event of Grid.
Regards,
Vignesh Natarajan