title: C# ASP.NET Page Leaving event?
body: <p>I was looking for an event that would fire or a way to tell if the user was leaving a page. Either to navigate to another page or closing the page alltogether. Is this possible through the events that fire?</p>