Hi Everyone, I want to develop a solution,not allow any user to delete document in library. Can I do this client side? Thanks
+1
A:
One option is to setup permissions so the user cannot delete items. If you need to do something programatically, there is an ItemDeleting even that fires (server side) whenever an item is being deleted that you could then implement any kind of custom logic your application rules require. More info on ItemDeleting from Wrox
John
John Ptacek
2010-06-20 14:33:20
A:
You also could define a retention policy on the document library - if you go to settings you'll find the Information management policy settings - however I agree with John and I think managing permissions is the correct way to go.
Shaneo
2010-06-22 09:37:42