Re: Adding eventhandler to control

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 06/01/04


Date: Tue, 1 Jun 2004 10:44:14 -0400

Hi,

 I just answered this on the CSharp group

Cheers,

-- 
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Neven Klofutar" <neven.klofutar@public.srce.hr> wrote in message
news:OmuIx89REHA.808@tk2msftngp13.phx.gbl...
> 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);
>
>
>