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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top