开发者

SharePoint & Visual Studio - Event Handlers - ListItemProperties == NULL

Refe开发者_如何学JAVArence my blog here: http://myspexp.com/2011/06/06/event-receiversits-not-always-as-easy-as-1-2-3/ I am unable to get the properties of the ListItem, what do you suggest?


In ItemAdding, there is no properties.ListItem yet - the item hasn't been saved. To modify what will be saved you have to modify properties.AfterProperties - and that's only for lists, in ItemAdding in a document library the AfterProperties aren't available either.

Check http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=25 for more info.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜