Itemupdating vs itemupdated

Rated 4.51/5 based on 583 customer reviews

The reason why item-updating event receiver fires twice in case of document libraries is because of check-in/checkout.

Also it can fire twice in case of doc library/list if we are updating the current item values with in this item updating event. https:// @Robert about the before properties, yes your right they would be the same regardless....

In addition, we had discussed building all projects off of the main solution and building sub-solutions from that main solution trunk. Then there are other various little things which just add to the morning frustration; the use of "Sharepoint" instead of "Share Point", "Engr" instead of "Engineering", inconsistent naming of image files, the existence of an App_Data directory (why is there an App_Data directory in this solution??????? It literally freezes my brain until the issue is resolved.

), referencing obsolete libraries (I could swear we discussed this)... Nobody seems to care much about the artistry and craftsmanship that goes into their until we need to do a customer or partner facing code review, then the only code they want to put up for review is mine...

These little things all matter in the end in creating a sense of professionalism and coherence in the final product when DLLs and classes are named according to guidelines, file naming is consistent, and spelling (misspelled words in code annoy me to no end) is correct. *Sigh* So CNN has a video on the mythical Japanese Gyroball.

After watching this, I'm more curious about their dubious use of information from the Net. Uh, when did random people commenting on You Tube video logs count as newsworthy sources?

I also find that our naming rules, which I had thought we all agreed on, are not being followed. To top it off, it's a solution file that doesn't follow naming conventions.

Asynchronous event receivers are also known as ‘After’ event receivers.

They are used to perform some custom action after an event occurs.

I am looking for a solution where I can set the bit when field value changes in Item Updating.

Check this bit if set do the processing in Item Updated.

Leave a Reply