<script language="javascript"> Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); function EndRequestHandler(sender, args) { if (args.get_error() != undefined) { if ((args.get_response().get_statusCode() == '12007') || (args.get_response().get_statusCode() == '12029')) { alert('Time-out Error'); args.set_errorHandled(true); } } } </script>
Friday, October 01, 2010
How to handle asynchronous request errors and reqeust end event in JavaScript
Subscribe to:
Post Comments (Atom)
Azure Storage Account Types
Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...
-
Demo: I was thinking a way to show images before actually uploading them to server. I would say to preview images using javascript. Obv...
-
Demo : I am using asp.net UpdatePanel control to partial page update. As there is no keyup event for the asp.net TextBox control, I add an ...
No comments:
Post a Comment