Page Unload Event

Discussion in 'ASP .Net' started by David A. Beck, Nov 20, 2003.

  1. I have a frameset with an index frame and a main frame. The aspx pages in
    the main frame are loaded based on the hyperlinks clicked in the index
    frame. In any aspx page in the main frame I want to save the information in
    the various controls before the new aspx page is loaded. I thought I could
    use the Page event Unload, but it does not seem to be triggering when the
    aspx page is replaced in the frame by another aspx page.
     
    David A. Beck, Nov 20, 2003
    #1
    1. Advertising

  2. David,

    You're thinking of client-side. The server-side Unload event occurs before
    the user even sees the page.

    Jim Cheshire, MCSE, MCSD [MSFT]
    Developer Support
    ASP.NET


    This post is provided as-is with no warranties and confers no rights.


    --------------------
    >From: "David A. Beck" <>
    >Subject: Page Unload Event
    >Date: Thu, 20 Nov 2003 13:08:03 -0500
    >Lines: 8
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    >Message-ID: <OFfF$>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >NNTP-Posting-Host: rrcs-central-24-123-17-66.biz.rr.com 24.123.17.66
    >Path:

    cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
    phx.gbl!TK2MSFTNGP09.phx.gbl
    >Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:191619
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    >I have a frameset with an index frame and a main frame. The aspx pages in
    >the main frame are loaded based on the hyperlinks clicked in the index
    >frame. In any aspx page in the main frame I want to save the information in
    >the various controls before the new aspx page is loaded. I thought I could
    >use the Page event Unload, but it does not seem to be triggering when the
    >aspx page is replaced in the frame by another aspx page.
    >
    >
    >
     
    Jim Cheshire [MSFT], Nov 20, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Justin Bartels
    Replies:
    2
    Views:
    992
    Jacob Yang [MSFT]
    Oct 21, 2003
  2. =?Utf-8?B?TWlrZQ==?=

    Page unload event

    =?Utf-8?B?TWlrZQ==?=, Nov 17, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    22,664
    =?Utf-8?B?TWlrZQ==?=
    Nov 18, 2004
  3. ABC
    Replies:
    3
    Views:
    3,057
    Teemu Keiski
    Dec 20, 2005
  4. Mariella Bakker
    Replies:
    1
    Views:
    5,229
    John Timney \( MVP \)
    May 8, 2006
  5. lander
    Replies:
    5
    Views:
    2,540
    Mark Rae [MVP]
    Mar 3, 2008
Loading...

Share This Page