Implement the Universal Event Handler (1)--Complete the preparation
Summary
In the previous article, we implemented the event Handler only for document list operations, which is actually what SharePoint 2003 can do, but 2003 does not add event Handler to lists other than documents. Will there be any improvement in the 2007? For example, the user to delete a announcements action, we want to be able to prompt no permission to delete, and prevent the deletion of the action, how to do it?
This article will introduce the first part of the implementation of the general event handler-the Ready action to complete the event handler.
To facilitate your study, you can download the project created by this article.
Body
To give friends a clearer idea of the steps to implement the common event Handler, this article will be divided into two small sections, the first part explains the preparation, and the second part explains the attempted event Handler. Therefore, for all the inconvenience of reading, please Haihan:
The procedures for each step are recorded below.
1. First open to open Microsoft Visual Studio 2005 and create a Class Library called Eallies.EventHandler.SP2007.
2, after the completion of the creation, the default Class1.cs renamed to ListHandler.cs.