Itemupdating vs itemupdated tips for a white man dating a black woman
Instead of writing more paragraphs I can use tabular to explain, I think this will be easy to understand.
So the double-event firing isn’t a bug, it’s just a result of the automatic check-in that occurs when you first add a document to a document library.event is raised when an Update button within a Details View control is clicked, but before the update operation.This allows you to provide an event handler that performs a custom routine, such as canceling the update operation, whenever this event occurs.So the net result of this is that the document is uploaded and the Item Adding and Item Added events have fired, which is pretty much what you would expect.Next, let’s look at what happens when the user adds a document when the Require Check Out option is enabled.
A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. For more information about handling events, see NIB: Consuming Events.