Step by step SharePoint 2007 of 33

Source: Internet
Author: User
Tags implement visual studio

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.