Re: form closing
- From: "Bruce Barker" <brubar_nospamplease_@xxxxxxxxxx>
- Date: Fri, 22 Jul 2005 17:23:13 -0700
add code in the client side unload to notify the server (this requires an
ajax implementaion)
-- bruce (sqlwork.com)
"bbdobuddy" <bbdobuddy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7FAD2ACE-B7DD-4512-8137-7885CEC7A7EC@xxxxxxxxxxxxxxxx
> Do you know if there is anything server side that will capture this or
> when a
> hyperlink is clicked?
>
> "Marina" wrote:
>
>> You can use the onbeforeunload event of the body element to capture this
>> client side. However, this event will fire just when there is a postback
>> or
>> when navigating between pages, so you have to do some extra work to
>> figure
>> out if it is really the browser being closed.
>>
>> "bbdobuddy" <bbdobuddy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:F0F4B96B-8E19-49C8-9FC1-B80C66940292@xxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > Is there any event that I can override to capture when a .aspx form
>> > closes?
>> >
>> > Regards
>> > bbdobuddy
>>
>>
>>
.
- References:
- form closing
- From: bbdobuddy
- Re: form closing
- From: Marina
- Re: form closing
- From: bbdobuddy
- form closing
- Prev by Date: Re: Odd HtmlInputFile experience - not streaming data
- Next by Date: Re: Regex -- Replace "-*?\n" with ""
- Previous by thread: Re: form closing
- Next by thread: Using an web page a a template for email on data submit.
- Index(es):
Relevant Pages
|