SharePoint Document Library item title in Event Receiver AfterProperties

January 4th, 2010 | Categories: C#, SharePoint

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.