In my MVC grid code, I have the following:
.DataSource(dataSource => dataSource
.Events(events => events.Error("gridErrorHandler"))
.Events(events => events.RequestEnd("onRequestEndCertification(\"employeeCertificationGrid\")"))
As you can see, I have both an error handler and a RequestEnd handler. However, in my RequestEnd handler function, I would like to be able to check for any error which may have occurred during the event, before I proceed. I cannot find a way, from within the RequestEnd handler, to detect if any error occurred in the operation. Is there a way?
I did notice an e.response.Error object but it never seems to contain any information.