keepoffthegrass
04-11-2007, 04:18 PM
I am using the contexts PublishEvent method i.e. this.ApplicationContext.PublishEvent(this, new ApplicationEventArgs());
I have created a Usercontrol that implements IApplicationEventListener.
I also have another object (we'll call this "A"). This also implements IApplicationEventListener and is defined in the <objects> collection in the spring section of my web.config.
When the event is published the usercontrols HandleApplicationEvent method does not fire, however object "A"s does.
Has anybody been able to get usercontrols to respond to these events?
I have created a Usercontrol that implements IApplicationEventListener.
I also have another object (we'll call this "A"). This also implements IApplicationEventListener and is defined in the <objects> collection in the spring section of my web.config.
When the event is published the usercontrols HandleApplicationEvent method does not fire, however object "A"s does.
Has anybody been able to get usercontrols to respond to these events?