* You are viewing the archive for the ‘Event receivers’ Category

List deleted / deleting event receivers not being hit when a site gets deleted

This will be a very short blog with a finding we did today. If you have event receivers on your lists like:

  • ListDeleting
  • ListDeleted

These don’t get hit when the parent site gets deleted, meaning you have to be very careful with it. If you really want to execute the logic that is contained within those events, you need to do it in the WebDeleted / WebDeleting events aswell.