title: Gracefully Canceling An Ajax Request
body: <p>I have a page with an update panel and a timer. The page updates every 5 minutes based on the timer. I also have some javascript that forces a __doPostBack on the update panel if another page (launched from the original) is closed. The problem I think I'm having is sometimes the forced post back seems to interrupt the postback triggered by the timer which is creating errors. Is there a way to cancel the current postback and start another? or detect if a postback is under way? Should this even be a problem</p>