SharePoint event handler test project

Source: Internet
Author: User

Work is required. Sometimes event handler is tested in various cases, including the event to be tested, but the feature of the event handler written each time is indeed repetitive and troublesome. So I wrote a code-generated applet to generate the following 37 projects, corresponding to 37 different List Templates. The listtemplateid is from http://msdn.microsoft.com/en-us/library/ms4320.1.aspx.

The project registers all list and listitem events. Refer to: spitemeventreceiver methods (Microsoft. SharePoint) and

Splisteventreceiver methods (Microsoft. SharePoint)

The project is based on wspbuilder (SharePoint WSP tool). Before using this project, please download it and familiarize yourself with its usage.

: Lambertqin.samples.eventhandlers.zip

For more articles about event handlers, refer to the following links:

  • Event Handlers (also known as event receivers) (http://msdn.microsoft.com/en-us/library/cc537498.aspx#MOSSIntroToNet_ComponentsEventHandlers)
  • Event fundamentals (http://msdn.microsoft.com/en-us/library/ms442323.aspx)
  • Event Handlers (http://www.microsoft.com/winme/0901/34867/mod7/index.html)
  • How to: create an event handler feature (http://msdn.microsoft.com/en-us/library/ms453149.aspx)
  • Creating and using event handlers in Windows SharePoint Services V3 (http://channel9.msdn.com/shows/In+the+Office/Creating-and-Using-Event-Handlers-in-Windows-SharePoint-Services-V3)
  • Building list definitions with event recorder er in Windows SharePoint Services 3.0 (http://msdn.microsoft.com/en-us/library/bb736146.aspx)

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.