The command argument value corresponds to the Command Argument property of the Update button.event is raised when an Update button within a Details View control is clicked, but before the update operation.First, we declare a boolean to hold the original value of the Event Firing Enabled property.
I am nothing if not a masterful linguist after a beer or two or more.
We'll create a class called Disabled Events Scope: This class is simple and to the point.
We inherit SPItem Event Receiver and IDisposable, SPItem Event Receiver will give us access to the base properties in the event receiver and IDisposable will give us a Dispose method (which comes in handy in a moment).
I don’t mean that it’s largest and most luxurious application every written, but rather that you may be cruising headlong into a nasty rendezvous with an iceberg that could deal a severe blow to your project.
We may never know about all of the dangers lurking out there, but today we’re going to cover at least one danger you may encounter while writing event receivers – an annoying issue with the Item Updating and Item Updated events firing twice.