Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > RaiseBubbleEvent can't find parent

Thread Tools

RaiseBubbleEvent can't find parent

Posts: n/a
I have a templated composite control with the main parent
control, a container control as its child control, and a
button as the container control's child.

When the button gets clicked, the event gets bubbled up
to the container control but never up to the top parent.
I checked the _parent value of the container control
during OnBubbleEvent and the value is undefined. The
strange thing is that the _parent value was defined when
I added the container to the parent control. Any idea how
to fix this?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
If a class Child inherits from Parent, how to implementChild.some_method if Parent.some_method() returns Parent instance ? metal Python 8 10-30-2009 10:31 AM
RaiseBubbleEvent from a Page to its MasterPage Keith Patrick ASP .Net 1 11-17-2005 07:04 PM
RaiseBubbleEvent from ITemplate Butchi Satuluri ASP .Net Building Controls 0 05-13-2005 05:58 PM
RaiseBubbleEvent() Darryl S. ASP .Net Building Controls 0 08-08-2003 11:52 PM
When using RaiseBubbleEvent(source, args) in my Parent Page OnBubbleEvent is called twice! Andreas Klemt ASP .Net 0 07-04-2003 01:03 AM