Mark, I don't fully understand what you are trying to do. Each button has 1
method that can hook into it's Click event...multiple buttons can share the
same click event. Inside the click event, you can access all buttons. What
do you mean by "send its caption to that method"? As opposed to sending
information into a method, you should make the method get the information.
At worst case, you can recursively loop through the Page.Controls and all
child controls and check if the control IS a button.
Karl
"Mark Goldin" <ma********@comcast.net> wrote in message
news:O9**************@TK2MSFTNGP09.phx.gbl...
I have a group of buttons.
When the user clicks on a button I'd like to execute
same code. Every button should send its caption to that method.
How can I do that?