MVP raise event directly in presenter

Topics: CAB & Smart Client Software Factory
Nov 9, 2011 at 1:17 PM

Is it possible to raise an event directly in the presenter instead of in the code behind and then forward the call to the presenter ? If want to do this to lighten the code behind the view as the MVP suppose to do. Problem is I can do it manually by wiring the event at runtime but if it`s possible I would do it with designer support.

Nov 9, 2011 at 4:28 PM

Hi,

The solution you mentioned about "wiring" the events from a view to a presenter seems to be a valid and simple approach to achieve your scenario but, based on my understanding, it isn't possible to do this directly with the designer out of the box.

Regards,

Damian Cherubini
http://blogs.southworks.net/dcherubini