Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

ItemUpdating and ItemAttachmentAdded

$
0
0

When I attach a file to the SPListItem, it always run the ItemUpdating method first.And In the ItemUpdating method,I update the SPListItem

properties.Status = SPEventReceiverStatus.CancelNoError;

Then the ItemAttachmentAdded method doesn't worked.

I just want to run the ItemAttachmentAdded method.(File has been updated)

How to run ItemAttachmentAdded method first

Or how to know I have attached a file in the ItemUpdating method


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>