PDA

View Full Version : Listen to all events in this.control



sanfaow
8 May 2012, 6:03 AM
In my application I would like to have one controller, which will listen to all events from all views. this.control of the controller should call one function and pass all info about the event. In that one function I would like to diffrentiate between diffrent events and take action. Is this possible?

jay@moduscreate.com
14 May 2012, 5:38 PM
you can via some trickery. To be honest, I cannot understand why you would want to do this. It seems like a horrible decision.