views:

134

answers:

0

I have a Linkbutton inside of a DataList, inside of ascx control, which is dynamically loaded into an accordian pane (Done in a server control that inherirts from composite control), which is added to an Accordion, and then displayed. (Each accoridon pane is a different category of items)

The display works fine, it's the event bubbling that has failed. The Link Button command event explicitly raises a RaiseBubbleEvent. At the Top level in the server control I just ensure the OnbubbleEvent is raised, and until wrapped the ascx in the Accordion all was fine, my application was frothy with bubbling events.

I'm seeing the event being called but when it reaches the server control OnBubbleEvent, it has come from the accordion itself, and not from the Linkbutton. I'm guessing that i somehow need to override the bubble for both the accordion pane, and the accordion itself, but how can you do that in an instance? Or should I try and put the LinkButton command event closer to the top of the tree (ie directly in the server control)?

Cheers.