Think of some event receiver methods like ItemAdded, ItemDeleted etc.

How can I detect in my event receiver code if the item adding/deleting is being triggered from the web UI or from the object model / custom code?

  • 1
    I don't think you can... maybe someone can prove me wrong. – RJ Cuthbertson Jan 16 '13 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.