Friday 23 October 2015

If I wanted to restrict the deletion of the documents from a document library, how would I go about it?

You would create a event receiver for that list/library and implement the ItemDeleting method. Simply, set: properties.Cancel= true and display a friendly message using Properties.Message("Please Don't Delete");

No comments: