SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Archive

Kategorien

Links

Andere Blogs




ITaCS GmbH


SharePoint Event Handler  

Mar 012007

If you want to modify the current listitem, the OnAfterChange Event will trigger again.

You can avoid this by disabling the trigger before the update:

this.DisableEventFiring();
item.SystemUpdate(false);
this.EnableEventFiring();

 
Posted by René Hézser | 0  Comments | Trackback Url  | 0  Links to this post | Bookmark this post with:        
Tags: Development, SharePoint
Technorati Tags: ,

Links to this post

Comments

Name *:
URL:
Email:
Kommentar:


CAPTCHA Image Validation