What are event receivers?- When any application is being developed there are some events which need to be handled.
- Event receivers allow responding to events as they occur within SharePoint, such as adding an item or deleting an item.
- They inherit from the SpItemEventReciever or SPListEventReciever base class.
- For example, whenever we add a new item to a list, some action needs to be performed like notifying the person who created the list item, or the dependent entries are being modified in some other location etc.
- Event receivers handle such events. There are many SharePoint event receiver classes in order to handle variety of events.