How can I tell what button was clicked from within Page_Load

  • Thread starter Christian Blackburn
  • Start date
C

Christian Blackburn

Hi Gang,

I have a dillema I need to know what button was clicked while I'm still
in the Page_Load event. Surely there must be a class that reveals
this?

Thanks,
Christian Blackburn
 
G

Guest

Mark,
You are 100% correct. If Mr. Blackburn's buttons are evented properly he
should simply see that the buttonX_Click event is fired on a postback and
that his code inside the handler is run. However, it can still be useful for
developers to understand how the mechanism works.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
 

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

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top