Home All Groups Group Topic Archive Search About

AddHandler method not being called

Author
13 May 2007 2:25 PM
Barry
Hi

Using VS 2003 i had programmatically created Tables with rows and columns
having Buttons, Textbox etc , the button were activated using

AddHandler btn.Click, AddressOf btnAddProjectNotes_Click

At that time everything was working fine, now using VS 2005 the delegate is
somehow not getting called,  is there some change in handling of AddHandler
between these two versions of Visual Studio


TIA
Barry

Author
13 May 2007 2:45 PM
Barry
forgot to mention , this is a webbased app not desktop


Show quote
"Barry" <some***@somewhere.com> wrote in message
news:uAPpfqWlHHA.596@TK2MSFTNGP06.phx.gbl...
> Hi
>
> Using VS 2003 i had programmatically created Tables with rows and columns
> having Buttons, Textbox etc , the button were activated using
>
> AddHandler btn.Click, AddressOf btnAddProjectNotes_Click
>
> At that time everything was working fine, now using VS 2005 the delegate
> is somehow not getting called,  is there some change in handling of
> AddHandler between these two versions of Visual Studio
>
>
> TIA
> Barry
>
>
Author
13 May 2007 3:17 PM
Rory Becker
> forgot to mention , this is a webbased app not desktop

I'm not especially up on my web app stuff. but is it possible the  page and/or
Control lifecycle event sequences are different between v1 and v2?

When exactly do you hookup your delegate?

--
Rory

AddThis Social Bookmark Button