Event

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

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

Thanks,
Miguel
 
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 1
Fire Event 1
Event 1
Raise Event 1
Event 2
Bubble Event 2
Event in Web Control 1

Back
Top