Itemupdating event dating for fat guys
To achieve this I will will need cath newand old values on the list Item which is being updated, to then find itsequivalent in list2 and proceed to update.If Ioverride the Item Updating event I am able to get the old value but not the newone, and when I override the Item Updated I can get only the new value. Mainly my issue is that no matter which of the 2 events I override the countof the After Properties and Before Properties hash Tables is always 0.... When dealing with event receivers in Share Point custom code, we use the Before Properties and After Properties to get a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object before and after the event occurred respectively.
Now let’s say we want to hook into the Item Updating event and prevent a user from changing a certain column.
If the name isn’t changed, the changes are saved to the Share Point list.
Before you can deploy the event receiver you have to change the file to bind the Update Adding event receiver to all custom lists.
With the exception of feature events, here is a full list of available Share Point events, event receivers, and event hosts for quick reference.
There is a difference between the behaviour of Before and After properties when dealing with document libraries versus when dealing with lists.
Search for itemupdating event:
I have already attached list1 to aevent handler but I cannot recover both values to complete my task....