Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Thursday, August 28, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > FAQ
Onstop, Connecting to SQL with ASP, Hiding Images, Passing Values from a Control        
Total Hits: 7  |  Today: 0 Author: Robert Hess       Rating:  
Read Reviews | Write Review |   Your Rating: 

How can I detect if a user clicks the browser's Stop button while viewing my Web page? Starting with Microsoft® Internet Explorer 5.0, your client-side code can trap the onstop event. This will let you know when the user clicks the Stop button, hits the Escape key, or when the page is being unloaded. Trapping the onstop event is handy when your page is performing some process that you want to stop when the user clicks the Stop button. Some processes that users might want to stop include background music, some forms of animation, some image loading, or other lengthy processes. The code in Figure 1 shows how to trap the onstop event.


What's New at DevASP.Net
08/28  Build Scalable Systems That Handl..
08/28  Customize Data Display with Data ..
08/28  Achieve Flexible Data Modeling Wi..
08/28  Develop Robust and Scalable Apps ..
08/28  More AsyncEnumerator Features
08/28  Data Paging in ASP.NET
08/28  Configuring Windows Instant File ..
08/28  Asp.Net Interview Question Part 1
08/28  Windows Mobile Power Management
08/28  CListCtrl and displaying a toolti..
08/28  XCPClock - CodeProject Clock
08/28  Octree Search
08/28  Another Star Trek Game (The Retro..
08/28  How-To: Automatically rename Fore..
08/28  Better way to Sleep: Control exec..
08/28  Secure Persistent ASP.NET Forms A..
08/28  AI Life
08/28  EGen – a scalable code generation..
08/28  Active Server Pages+: ASP+ Improv..
08/28  Implementing Handler Marshaling U..
Latest Posts at Dev Forums
displaying an xml file in datagridview
Tory Block
Deploying website to offline and onlin..
Deploying website to offline and onlin..
window service c#
kiossru
Regular expression
asp.net
Very urgent--
submit to the server
load gif image
focus
filter combo boxes in formview control
ASP Composite Control and Position
Caching as a Master DataSource w/t Rea..
Method returning values in Threadpool!
ADVERTISEMENTS USING XML FILE
DATALIST PROBLEM
FTP Downloading using C#
Nested gridview footer total by using ..

DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net