So for the past week or so I’ve had this looming issue hanging over my head that I would try to nail down in-between other issues that I swear was going to be the death of me.I knew whatever it was had to be something really simple that I kept overlooking and something that, when I finally figured it out, would be quite .Here’s an issue that nearly brought me to my knees… I was stressing out all weekend wondering why an Item Updating event wasn’t running in Datasheet view, even though it ran fine and dandy when used with the
Basically the raised event was performing data validation for the List Item being updated.
Edit Form Scenario: The Item Updating event worked without a hitch. To String()); } Datasheet Scenario: Running the same code, the Item Updating event would cause errors in the Datasheet view and forces the user to discard their changes.
The problem was that I had written an Event Receiver to handle Item Added events for a custom list.
The handler simply creates a task in the Tasks list corresponding to the new item added to the custom list.
Then this morning, I had a friend look at the line of code that was returning the null problem: int delivery Qty = int. To String() method for people that wanted to retrieve information from the properties bag when an Item Updating event is fired from the Datasheet view.