Re: AutoPostback not seeming to go to Page_load
From: Kumar Reddi (kumarreddi_at_REMOVETHIS.gmail.com)
Date: 12/08/04
- Next message: bruce barker: "Re: detecting successful downloads and browser buffering"
- Previous message: bruce barker: "Re: Passing parameters to a page"
- In reply to: tshad: "AutoPostback not seeming to go to Page_load"
- Next in thread: tshad: "Re: AutoPostback not seeming to go to Page_load"
- Reply: tshad: "Re: AutoPostback not seeming to go to Page_load"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Dec 2004 20:52:16 -0500
Hmm. a postback can not skip the Load event. May be you are overlooking. How
about putting a breakpoint in the Page_Load handler and see if it does stop
there or not.
-- Kumar Reddi http://kumarreddi.blogspot.com "tshad" <tscheiderich@ftsolutions.com> wrote in message news:#UX$6AM3EHA.4072@TK2MSFTNGP10.phx.gbl... > I am running a program I got off the net and found the author was doing an > "autopostback=true" on his textbox. > > I am not sure why he was doing this as it doesn't seem to be doing anything, > but when I put trace on, I can see the page being posted, but I have the > following: > > ************************************************************* > private void Page_Load(object sender, System.EventArgs e) > { > Trace.Warn("inside Page_Load"); > if(!IsPostBack) > *************************************************************** > The Trace.Warn displays on all of the other Postbacks, but doesn't seem to > on the AutoPostBack. > > Is it foregoing the Page_Load for some reason? > > I was going to take it out as it doesn't seem to be doing anything, but I am > curious as to what it is doing. > > Thanks, > > Tom. > >
- Next message: bruce barker: "Re: detecting successful downloads and browser buffering"
- Previous message: bruce barker: "Re: Passing parameters to a page"
- In reply to: tshad: "AutoPostback not seeming to go to Page_load"
- Next in thread: tshad: "Re: AutoPostback not seeming to go to Page_load"
- Reply: tshad: "Re: AutoPostback not seeming to go to Page_load"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|