none
Item Event fires even after deactivating the feature RRS feed

  • Question

  • Hello Team,

    i am working on SharePoint event receiver for items(document in my case), e.g ItemAdded.

    I am using element.xml to bind my event to document library, every thing works fine, but if i de-activate the feature then also the itemadded event gets fired,

    i checked in powershell for eventreceivers associated with that library it shows count 0.

    $spweb = Get-SPWeb -Identity http://Mywebsite
    $spList = $spweb.Lists["Shared Documents"]
    $spList.EventReceivers.Count
    0

    Please let me know if i need to modify anything.


    Thanks.... ________________ Baba (MCTS, MCPD)

    Thursday, March 28, 2013 9:43 AM

Answers