SharePoint Document Library item title in Event Receiver AfterProperties
Here’s a short one worth taking note of. If you’re using SharePoint Event Receivers – more specifically synchronous event receivers (-ing) you might notice that if you try to set Properties.AfterProperties["Title"] in a document library for the strangest reason it doesn’t work. If that occurs, use the
AfterProperties["vti_title"]
And the Document Title can be managed.



Awesome! it’s took me half day to address the exact same issue. you just saved my time!
Thanks a lot!
This seems to cause issues when updating in Datasheet mode.
When updating in DataSheet mode, only fields that are displayed in the DataSheet view get submitted. So if you’re refferencing any columns in your event receiver that are not part of this column, that’s when the error occurs.