1
vote
2answers
269 views

How to prevent site collection admin delete his site collection?

We need to avoid our users, who are "site owners", delete his site collection by mistake. The only method I think of is use Jquery to hide/disable the "Delete this site" button. Do we have other way ...
0
votes
1answer
117 views

Timer Job cannot delete an item (with error “item does not exist”), but console app can

I have a list based on a calendar in SharePoint 2010 and I periodically run a timer job to archive items to another location, deleting them from the list. Most of the time this works just fine, but ...
1
vote
2answers
242 views

Unable to delete site outside of site collection

In a fresh install of SharePoint 2010, I naively built a site without first creating a site collection to put it in. The site sites in the root of the server's URL space (i.e. it is simply ...
2
votes
2answers
2k views

Preventing users from deleting an item from a task list

I am using the ItemDeleting event receiver to prevent users from deleting items in a Task List. Currently, my code looks like: if (properties.ListTitle == "Project Intake Tasks") { ...
4
votes
1answer
7k views

Disable the delete option from Sharepoint list 2010

I have a custom list in SharePoint 2010, for which, the requirement is to disable the delete option. Users should be able to add to the list but not delete. Is there anything oob for that?