John:
If you are using Visual Studio, select the link button and view the
properties window. Then select the button at the top of this window that
looks like a lightning bolt. That will show you the events for the link
button and what event handler is set for the Click event.
A second method is to examine the InitializeComponent method of the code
behind page. This will show code for adding the events for a particular
control on the page.
For example:
this.LinkButton1.Click += new System.EventHandler(this.Page_Load);
--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com
This response is supplied "as is" without any representations or warranties.
<jo********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I posted this question a couple days ago on , but didn't get any
answers, so I will try here.
My issue: there is a link button with an event handler for a Click
event. I want to create another link button that will act exactly like
the first. So I want to set its Click event handler to be the same as
the first one. But I can't figure out how I can see what the first
one's event handler is.
thanks in advance.