Testing which event invoked in Page load event

  • Thread starter Thread starter Jim Meisterich
  • Start date Start date
J

Jim Meisterich

How can I see what event caused a postback. For example
if a user clicks a certain command button, I want to skip
the logic in my page load event.

Any help is appreciated.

regards,
Jim Meisterich
 
Jim Meisterich said:
How can I see what event caused a postback. For example
if a user clicks a certain command button, I want to skip
the logic in my page load event.

Any help is appreciated.

You probably want to ask in microsoft.public.dotnet.framework.aspnet.
 
[This followup was posted to microsoft.public.dotnet.framework and a
copy was sent to the cited author.]

How can I see what event caused a postback. For example
if a user clicks a certain command button, I want to skip
the logic in my page load event.

Any help is appreciated.

regards,
Jim Meisterich
Doesn't the event say what control did the postback?
 
Back
Top