Home All Groups Group Topic Archive Search About
Author
28 Jun 2006 2:21 PM
Philip
I have a custom control which uses templates.  The template controls are
being added properly to the control hierarchy, however inline events defined
within the template are not firing.  I have tried LinkButton bubble events
(CommandName) and I have also tried LinkButton click events placed within the
template at Design Time, and neither events types are firing.

I am also supporting the IPostDataHandler interface in my custom control
because I need to examine a private hidden field, and during the LoadPostData
method I can see the LinkButton post data is in the _EventTarget, for the
LinkButton in question.... however the LinkButton bubble event / or the
LinkButton click event NEVER FIREs as expected.

Can anyone offer some suggestions on what to look for on this problem that
is consuming a great deal of time to resolve ???

Author
28 Jun 2006 3:14 PM
Alessandro Zifiglio
hi philip, is this useful :
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.webcontrols/browse_frm/thread/5ddea1d951c2bc4b/6dd2a07792bad4e2?lnk=st&q=alessandro+zifiglio+onbubbleevent&rnum=3&hl=en#6dd2a07792bad4e2

Regards,
Alessandro Zifiglio
Show quoteHide quote
"Philip" <Phi***@discussions.microsoft.com> ha scritto nel messaggio
news:90960B4D-C723-4C98-BCD6-AC38B9408E39@microsoft.com...
>I have a custom control which uses templates.  The template controls are
> being added properly to the control hierarchy, however inline events
> defined
> within the template are not firing.  I have tried LinkButton bubble events
> (CommandName) and I have also tried LinkButton click events placed within
> the
> template at Design Time, and neither events types are firing.
>
> I am also supporting the IPostDataHandler interface in my custom control
> because I need to examine a private hidden field, and during the
> LoadPostData
> method I can see the LinkButton post data is in the _EventTarget, for the
> LinkButton in question.... however the LinkButton bubble event / or the
> LinkButton click event NEVER FIREs as expected.
>
> Can anyone offer some suggestions on what to look for on this problem that
> is consuming a great deal of time to resolve ???
>
>