Event Handlers and Site Scoped Features
Scenario: a site scoped feature creates a custom list that needs a custom Event Handler attached.
Problem: event handlers need to be deployed at Web scope (msdn)
Solution: do not add the event handler in markup, add it in code.
Don’t declare the event handler in xml source files. The Event Handler will still exist, it just won’t be linked to your list.
Override the Feature Activated event and link the handler to the list.
Drawback: the handler will only work the list you create when the feature is activated. If you want it to be functional on the site for other instances of the list, you need to separate its code into a second web scoped feature.


