I want to catch the server not responding or timed out error. i was using PageMethods for calling a function in the serverside from javascript in asp.net web application. some times the server will not respond, so i want to handle that server not responding when i called PageMethods from the javascript which is located in aspx file.
please do the needful, thanks in advance..
I think a simple try catch would solve your problem
javascript try catch reference