Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default UnLoad Event

    Does a page either dump all control rendering html to the response buffer
    prior to the UnLoad event?

    Basically I want everything sent to the browser before I execute some
    possibly long sql queries.
    I am thinking I could execute the queries in the Page_UnLoad event if
    everything that will be sent to the browser has been either dumped into a
    buffer in which I could flush it , or already sent to the browser.

    I know I could open a new thread and execute the query but why do that when
    the page is already rendered.

    Any Ideas


    Thanks,

    Ron Vecchi


    Ron Vecchi Guest

  2. Similar Questions and Discussions

    1. Event for web page unload
      I have a flex application that needs to do a little clean up (acutally do a server post) when the user leaves the webpage. In java I could do it...
    2. Getting Error: Event Type 'flash.event:event' is unavailable ?????
      Hi, I am not using Cairngorm or anything, but trying to get an app built first without it then look into it. I am getting this error however...
    3. Unload Usercontrol
      I Had realized a user contro ctrlContro and i load it in this way: ctrlControl c1=new ctrlControl c1.Partent=this; c1.Show(); this is right,...
    4. CF code in unload event
      I have some CF code that I want to execute when a user leaves a page. I put it in a javascript OnUnload routine. However the code seems to be...
    5. ACTIVE X UNLOAD
      HI, I have an active x control that seems to stay memory resident throught my multiple dir's. Once I access the control and the app get's...
  3. #2

    Default Re: UnLoad Event

    Yes, the HTML has already been completely rendered by the time the
    Page_Unload event fires.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Ron Vecchi" <vencenzo@comcast.net> wrote in message
    news:uKSD6DwVDHA.1912@TK2MSFTNGP11.phx.gbl...
    > Does a page either dump all control rendering html to the response buffer
    > prior to the UnLoad event?
    >
    > Basically I want everything sent to the browser before I execute some
    > possibly long sql queries.
    > I am thinking I could execute the queries in the Page_UnLoad event if
    > everything that will be sent to the browser has been either dumped into a
    > buffer in which I could flush it , or already sent to the browser.
    >
    > I know I could open a new thread and execute the query but why do that
    when
    > the page is already rendered.
    >
    > Any Ideas
    >
    >
    > Thanks,
    >
    > Ron Vecchi
    >
    >

    Steve C. Orr, MCSD Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139