I have a AJAX form in ASP.Net. Lately, I have been getting an exception: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The sttaus code returned from the server was: 500
This is mostly due to the fact that the user is trying to submit the form 2 times, since the response back from the AJAX is slow. This also results in duplicate records being added in the system.
I would like the user to know that the current process (say if they click on a button) is not yet complete, by changing the cursor icon to a hourglass. The cursor icon should revet back to original state once the page response is processed.
Please let me know how I could implement this cursor functionality?
Thanks in advance.