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

How to add an event receiver to a list in sandboxed solutions?

$
0
0

Hi all,

Event receivers are supposed to be supported in sandboxed solutions. However, we need to programatically add an event receiver to a list. How can this be done with sandbox?

For some reason, SPEventReceiverDefinitionCollection.Add isn't available in sandboxed solutions.

http://msdn.microsoft.com/en-us/library/ms430598.aspx

Thanks,
Christoffer


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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