<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Comments - SharePoint - eCraft Labs</title>
        <description></description>
        <link>/Tags/SharePoint/RSS</link>
        <language>en</language>
        <image>
            <url>http://labs.ecraft.com/Content/icons/favicon.png</url>
            <title>eCraft Labs</title>
            <link>/Tags/SharePoint/RSS</link>
            <width>64</width>
            <height>64</height>
        </image>
        <item>
            <dc:creator>Andreas Finne</dc:creator>
            <title>RE: SharePoint Event Handler Gotchas</title>
            <description>Inside a synchronous event handler (-adding) you shouldn't have to do ListItem.Update(), since that is handled by SharePoint afterwards by taking the AfterProperties. On the other hand, in an asynchronous event handler (-added), you have to do ListItem.Update(), and modify the item directly instead of modifying the AfterProperties collection.

So, without having any more information that you provided, I suggest that you try without the Update() at the end.
</description>
            <link>http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201006140637404</link>
            <guid isPermaLink="true">http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201006140637404</guid>
            <pubDate>Mon, 14 Jun 2010 06:37:40 GMT</pubDate>
        </item>
        <item>
            <dc:creator>csr</dc:creator>
            <title>RE: SharePoint Event Handler Gotchas</title>
            <description>Hi Im doing an ItemAttachmentAdding event and I have to put a column value to &quot;1&quot; when the event happens.

I have tried without success:


properties.AfterProperties[NAME] = &quot;1&quot;;
properties.ListItem.Update();

I hope you can help me.</description>
            <link>http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201006010321144</link>
            <guid isPermaLink="true">http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201006010321144</guid>
            <pubDate>Tue, 01 Jun 2010 15:21:14 GMT</pubDate>
        </item>
        <item>
            <dc:creator>Ryan Wentzel</dc:creator>
            <title>RE: SharePoint Event Handler Gotchas</title>
            <description>Working with the SharePoint Object Model can be so frustrating at times. Thanks for the tips.</description>
            <link>http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201005180440181</link>
            <guid isPermaLink="true">http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201005180440181</guid>
            <pubDate>Tue, 18 May 2010 16:40:18 GMT</pubDate>
        </item>
        <item>
            <dc:creator>axiom</dc:creator>
            <title>RE: SharePoint Event Handler Gotchas</title>
            <description>Great work man, great.</description>
            <link>http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201005110100104</link>
            <guid isPermaLink="true">http://labs.ecraft.com/Blogs/SharePoint-Event-Handler-Gotchas#c-201005110100104</guid>
            <pubDate>Tue, 11 May 2010 13:00:10 GMT</pubDate>
        </item>
    </channel>
</rss>