Event

S

shapper

Hello,

How can I fire an event in a custom control (composite control)
sending a command value and argument?

Thanks,
Miguel
 
B

bruce barker

in your control define a commandarg event:

public event CommandEventHandler myEvent;

then fire the event whenever you want:

myEvent(this, new CommandEventArgs(cmdName,cmdArg));


-- bruce (sqlwork.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

Similar Threads

Control Event 1
Event 0
Fire Event 1
Event 1
Event 0
Event 1
Bubble Event 2
Raise Event 1

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,061
Latest member
KetonaraKeto

Latest Threads

Top