What is the difference between Event Receivers for custom lists and a document libraries?

The Document library Events are firing even when we select a custom list event receiver.

What exactly is the difference between these two?


There is no difference. Type of list defines the destination content type in elements.xml in event reciever feature

  • then why a seperate event receiver for document libraries?? – Sooraj Sep 17 '14 at 13:58
  • It just makes generation of elements.xml easier: "<Receivers ListTemplateId="100">" for Custom List and "<Receivers ListTemplateId="101">" for Document Library. – Ruslan Dayanov Sep 17 '14 at 14:09
  • But number of events available for document libraries will be more right? – Sooraj Sep 17 '14 at 14:18
  • No, available events are the same. – Ruslan Dayanov Sep 17 '14 at 14:21
  • What about check in , check out events? – Sooraj Sep 17 '14 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.