Click to See Complete Forum and Search --> : event handling (sender info details retrieval)


cyberpilgrim
05-17-2004, 08:37 AM
I want to retrieve ID of sender, but experience some problems with it. Is it possible?

cyberpilgrim
05-17-2004, 08:39 AM
ouch...
almost found. but still can't get it. :(

PeOfEo
05-17-2004, 09:37 PM
I want to retrieve ID of sender, but experience some problems with it. Is it possible?
and what does that mean? Id of sender? What id? Give me a more detailed description of what you are doing and will try to explain how to do it if I know what you are after.

cyberpilgrim
05-18-2004, 05:41 AM
for instance:

asp.net page:

...
<asp:--- id="someelement" OnClick="eventhandler"/>
...


code:

...
protected void eventhandler(object Sender, EventArgs e)
{
...
}
...

Actually, now I figured out how to cast Sender to get id of element.

But, anyway, thanks for response.