Saturday, March 17, 2007

SPWebEventReceiver - SiteDeleting

I have been searching for examples of SPWeb event handlers that can block the ability to delete a site/web from SharePoint as outlined here. The SPWebEventReceiver class is outlined at msdn - unfortunately without an example.

So far I have not been able to get it working - but hopefully shortly.

Ideas and input very much appreciated.

I found a good example here.

1 comment:

Thamizh said...

Hi,
You can even find a good example in the following link also.
http://justbarno.com/sharepoint/post/Sharepoint-SPWebEventReceiver-Workaround.aspx