Together with Patrick we developed the alfa and beta versions of the Silverlight Blue Print for Share Point which contains several samples on how to integrate Silverlight with Share Point. I’m also board member of the belgian user group BIWUG.The changed values can be retrieved from the After Properties of the incoming properties argument.You could think that the current values are stored in the Before Properties of the item but that’s not true: the Before Properties are unreliable at this point. When the name of the planet is changed, the update is canceled and an error message is returned to the user.Before starting I advise you to read this, it gives you an overview of event recievers.
To avoid posting a lot of code here, with the Item Adding / Item Updating / Item Updated, I’ll create one single method which basically will be called from any of those above mentioned methods and perfrom the actions.
Very important for the Microsoft documents like (docx, xlsx, ….) is the third part of the code, as you can see I open a new instance of SPWeb to update the item, if you will not do this and just say properties. System Update(false) you will run into a trouble where it will say that this item was already been modified, doing they way mentioned, will avoid getting this issue.
Itemupdating itemupdated comments