A Details View Mode Event Args object is passed to the event handler, which allows you to determine the new mode, to determine whether the mode change was a result of the user canceling an edit operation, or to cancel the mode change.Developing a Sharepoint application would have all the fun of a video game, if only you had infinite lives.
With that in mind, Share Point 2010 is like a sea of icebergs – there is a lot going on under the surface that you may not notice until it’s too late. The first conclusion I can come to at the moment is: your ER fails in the case it's fired from the code. One thing I've seen quite often: you may assume, in the ER code, that there's a Web context (e.g. but there's no Web context if your Update code is called from, let's say, a console app (or a job, or at speficic steps of a workflow...). public override void Item Added(SPItem Event Properties properties) Actually i have an Event Receiver in list say "List1" and in that i have two events Item Added and Item Updated. As my Event Receiver's code is on the list so it would affect to the list item and not on the document library's item.The following procedure needs to be followed to disable event firing on a list item update.In Sharepoint, the attached item events are fired whenever you perform an item.Details View Change Mode: private void Handle Cancel() private void Handle Edit() private bool Handle Insert Callback(int affected Rows, Exception ex) private void Handle New() private bool Handle Update Callback(int affected Rows, Exception ex) With Change Mode you are choosing that the control switch to one of it's modes.