event trigger

Discussion in 'ASP .Net Web Controls' started by Guest, Jun 15, 2005.

  1. Guest

    Guest Guest

    Hi
    How can I trigger a button_click event in c#, please? I have tried calling
    the event directly, but it event was looking for some parameters such as
    sender and eventarguments which I don't know what to send?!

    TIA

    --
    Guest, Jun 15, 2005
    #1
    1. Advertising

  2. Guest

    Harolds Guest

    Send (null,null) if you don't use the parameters.

    Better yet create a seperate function that is called by the event and
    anywhere else.

    "dl" wrote:

    > Hi
    > How can I trigger a button_click event in c#, please? I have tried calling
    > the event directly, but it event was looking for some parameters such as
    > sender and eventarguments which I don't know what to send?!
    >
    > TIA
    >
    > --
    >
    >
    >
    >
    Harolds, Jun 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?T3dpbg==?=
    Replies:
    2
    Views:
    1,234
    Mike Smith
    Jul 15, 2004
  2. dana lees

    Trigger an event on a different frame

    dana lees, Aug 25, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,806
    Vidar Petursson
    Oct 23, 2004
  3. Shiva
    Replies:
    0
    Views:
    617
    Shiva
    Aug 28, 2004
  4. David
    Replies:
    3
    Views:
    2,658
    news.microsoft.com
    Dec 2, 2004
  5. Anthony Papillion

    TkInter bind() event is not firing event trigger

    Anthony Papillion, Jun 23, 2010, in forum: Python
    Replies:
    3
    Views:
    1,654
    rantingrick
    Jun 23, 2010
Loading...

Share This Page