SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to do Cascade deleting in two of my colums. If I deleted in First List record i wated deleted all records at Secound List bounded with records from List One. I adding bounded data first in Items Adding. But if I adding in ItemsAdding the last element of adding items are not exist Could I add him in Items Added element. Only one column with bounded record to delete cascade all bounded data.

share|improve this question
up vote 1 down vote accepted

Of course it can be done with Item Receiver but i dont understand if that's eaxctly your requirement then why dont you use lookup column with cascade delete?

Anyway write your code in ItemDeleting, you must have some relation ship between columns to delete them, say you have included ID column of first list as relationship (you can say foreign key) in second list column "RefID" then in event receiver write a CAML query to "RefID" retrieve item from the second list with "RefID"=Deleting item ID, and delete those records

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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