Share via


Event

You set the value of the AdapterReference tag to Event to use inline event binding in the adapter. The following is an example of a binding, where the AdapterReference is set to event:

<Events>
      <Event Name="paymentshopping">
        <AdapterHandler type="MyPictureAdapter" init=””>productPicture</AdapterHandler>
      </Event>
</Events>

You can define adapters inline, where in the adapter is associated with a particular event and can be combined with a handler of different type. The Adapterhandler tag allows you to specify the adapter type (matching the AdapterReference statement) and an initialization string. The content represents a path to the only target in inline event adapters.