Itemupdating folder fires twice az rbaycan dating sevgi
This happens only at the time of uploading file in to library.I have explained the scenario below So, the custom event fires twice only at the time of uploading file into library.The first time the Item Updating and Item Updated events fire it is in response to the document properties changing.
It’s a pretty simple fix, but we can definitely make it a bit more reusable for everyone on a development team and reduce the hassle of having to remember the specifics about how to run the check in their Item Updating and Item Updated event handlers.Most of the Share Point developer has faced this issue, “Custom event receiver fires twice for Item Updating and Item Updated event in Document Libraries”.Actually it’s not an issue; this is default behavior of Share Point 2010 Document Libraries.I have removed all code from my handlers to ensure that it's not something I'm doing inside that is causing the problem. In the link above you can go for a reference to find out which properties to use depending on what you are using a library or a list. Remember this, in most blogs it is written that you should use the Internal Name of the field, but for me it was different.
Damon gives just one example of a poisoned dagger in the game of Sharepoint Development: The Item Event Receiver.