Skip to Content
0
Former Member
Dec 03, 2008 at 06:08 AM

How to call a method of an other view in the current view

44 Views

Hi Guys,

I have 2 views in my Project: IPrivateValidateIncidentView and IPrivateRoadMapView. Now, a button in the IPrivateRoadMapView must call a method in the IPrivateValidateIncidentView. I cannot seem to figgure this out. I know that I will probably need to arrange things centrally in my Component COntroller somehow.

I have tried to see what methods I can Invoke on IPrivateValidateIncidentView from within the Controller to see if I can call the method OnActionDoneValidate() from there, but I can only seem to get a constant with this methods name: IPrivateValidateIncidentView.WD_EVENTHANDLER_ON_ACTION_DONE_VALIDATION;

Please help.

Christiaan