How do I create an event receiver for a single list that is based on a custom content type?

StackOverflow https://stackoverflow.com/questions/7420699

Вопрос

I am trying to create an event receiver for a list I have created called Questions.

When a new question is added I want an event to fire. I have looked into it so I know I need to create an event receiver and make use of the ItemAdded method.

How do I bind this to one instance of a list and what do I select for the Source type when creating the receiver? I don't have an option for "Custom List" in there as some blog posts suggest.

Hope someone can help..

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top