Using Contextual Events: Step 6
6. Create an event handler method and expose as a data control: You also need to create an event handler that specifies what happens in the consumer region after the event is raised. Does it need to requery, using the payload data, or does it simply need to refresh the region? Again, this event handler method, which can be defined in a separate class or as an application module service method, must be exposed as a data control. The handler method expects event parameters or the event payload itself.