There is no easy way.
If they are link buttons, you can look at Request.Form["_eventtarget"];
if they are buttons, if the id of the button is in request.form, then that's
the button that was clicked..
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
<th*****************@yahoo.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I am trying to detect what asp.net button was clicked duing the
page_load event. I have two asp.net buttons on my page.
What is the easiest way to detect this?