PDA

View Full Version : events down from controller



WendyLG
21 Mar 2012, 8:09 AM
so I bubbled my event from my sub panel up to the controller, but now I want to change a panel that is quite deeply embedded inside my viewport.

How do i get to this panel?

I tried fireing a new event but that would require putting an event handler in every single panel on the way down, and any refactorings would need to know about this event.

mitchellsimoens
21 Mar 2012, 9:31 AM
What are you wanting to change? The location of that nested panel?

WendyLG
21 Mar 2012, 9:31 AM
An image inside the panel.
It is all started by a row change on a grid, and then sprinkle the details around the various other panels.
But I know from experience that everything will be shifted around about 5 more times before I am happy with the final result.