locked
attach event receiver to specific List definition RRS feed

  • Question

  • Hello ,

    •  I have created a custom List Definition (Type=10000);
    • Then I create a list instance from list definition .
    • I have create an Event Receiver , And Set  <Receivers ListTemplateId="10000" .
    • I create a feature (Scope: Site) . and add previous elements to it .
    • I activate the feature . Then When I add an item in the list , the event receiver works fine.

          If I try add an item to another list  with a different list definition , the event receiver works too .

         So what is wrong ? And How can run event receiver with a specific list definition ?

       Thanks


    ASk

    Thursday, November 29, 2012 10:27 AM

Answers

All replies