I have an AJAX enabled grid bound to a sqlDataSource. If an exception occurs for any reason while the user is adding/updating/deleting data in this grid, what is the standard practice for getting this message back to the user? Currently my grids just keep working as if nothing has gone wrong.
BTW, I can see exception data being passed into the sqlDataSource_Updating event.
Thanks!
Found my own answer...the client side event XmlHTTPResponseHandler should do the trick for me.
I retract what I thought was an answer. The XmlHTTPResponseHandler fires too soon. My exception is first noticed the sqlDataSource_Updating event...XmlHTTPResponseHandler has already fired reporting everything is alright.
This seems so basic, but I've pulled what's left of my hair out dealing with this problem. I will personally stick a $20 bill in an envelope and mail it to someone who can tell me how to do this correctly.
BTW, I'm having the same problem with delete event, but assume one solution will fix both.
-Walter