Message from discussion
event handlar
From: "DJ Lordee" <nialad...@hotmail.com>
References: <uJJtWIY#JHA.5064@TK2MSFTNGP03.phx.gbl>
In-Reply-To: <uJJtWIY#JHA.5064@TK2MSFTNGP03.phx.gbl>
Subject: Re: event handlar
Date: Thu, 30 Jul 2009 00:14:32 -0400
Lines: 1
Message-ID: <33314E14-9F8B-45D5-8A65-076F0783F76B@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8064.206
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206
X-MS-CommunityGroup-PostID: {33314E14-9F8B-45D5-8A65-076F0783F76B}
X-MS-CommunityGroup-ThreadID: 88720DF0-1DFE-4F7E-BAA8-58E6F3B7F5E2
X-MS-CommunityGroup-ParentID: 88720DF0-1DFE-4F7E-BAA8-58E6F3B7F5E2
Newsgroups: microsoft.public.sharepoint.portalserver
NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
Path: g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!feed-me.highwinds-media.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!feeder.xsnews.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!t-online.de!TK2MSFTFEEDS02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGHUB02.phx.gbl
Hi,
It depends on what you want to achieve. There are two types of event
handlers: the ING and the ED. The ING (e.g. Item Adding) are fired before
the final save and they are synchronous. The ED (e.g. Item updated) are
asynchronous and are fired after the save event.
Therefore, if you want to trigger an event after the document has been
updated, you'll have to use the Item Updated event handler.
Regards,
Alain Lord
MVP SharePoint Server
"ldiruggero" <ldiruggero@hotamailcom> a écrit dans le message de groupe de
discussion : uJJtWIY#JHA.5...@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> I wold like to now when i upgrate a documet in a document library what
> event
> handlar moos use?
>
> Item adding???
> Item updating??
>
> grazie Luca
>
>