Event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shapper

    Event

    Hello,

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

    Thanks,
    Miguel
  • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

    #2
    RE: Event

    in your control define a commandarg event:

    public event CommandEventHan dler myEvent;

    then fire the event whenever you want:

    myEvent(this, new CommandEventArg s(cmdName,cmdAr g));


    -- bruce (sqlwork.com)


    "shapper" wrote:
    Hello,
    >
    How can I fire an event in a custom control (composite control)
    sending a command value and argument?
    >
    Thanks,
    Miguel
    >

    Comment

    Working...