I have created a list item event receiver(ItemUpdated).
When a item is updated in a list(for which event handler is attached),my code updates other items (may be more than 1) in lists in subsites.
When I debug the event receiver,I see that the ItemUpdated is called many times even if I update a single item in a list to which event handler is attached.
The code is working fine but I am not sure why ItemUpdated is called multiple times,even if a single item is updated.
Update : I install the eventhandler using xml below:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListUrl="Lists/NewIdeas"> <Receiver> <Assembly>.....</Assembly> <Class>......</Class> <Type>ItemUpdated</Type> <Name>....</Name> <Synchronization>Synchronous</Synchronization> <SequenceNumber>1000</SequenceNumber> </Receiver> </Receivers> </Elements>