Adding a eventhandler to control

Discussion in 'ASP .Net' started by Neven Klofutar, Jun 1, 2004.

  1. Hi,

    How can I add an even handler to a control that is not situated on the main
    page (it's situated in the repeater).
    How do I rewrite this to make it work ?

    Thanx, Neven

    ---------------------------------------------

    this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
    Neven Klofutar, Jun 1, 2004
    #1
    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. Neven Klofutar

    Adding eventhandler to control

    Neven Klofutar, Jun 1, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    336
    Ignacio Machin \( .NET/ C# MVP \)
    Jun 1, 2004
  2. Lars Netzel
    Replies:
    0
    Views:
    408
    Lars Netzel
    Jul 9, 2004
  3. mawi
    Replies:
    2
    Views:
    348
  4. dtarczynski
    Replies:
    2
    Views:
    945
    dtarczynski
    Sep 7, 2006
  5. Simon Maltow

    Adding eventhandler dynamically to usercontrol

    Simon Maltow, Aug 1, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    126
Loading...

Share This Page