Blog Stats
  • Posts - 2
  • Articles - 0
  • Comments - 13
  • Trackbacks - 0

 

SharePoint Event Handlers

Creating a SharePoint Custom Event Handler

I’ll review the basic steps on creating a SharePoint custom event handler. You begin by opening up Microsoft Visual Studio 2005 and create a new class project. Reference the Microsoft.SharePoint assembly and then rename the default.cs class to the name that you want to give to your event handler. Also, remember to add your using statement for Microsoft.SharePoint. Depending on which type of event handler you are wanting to write, will determine the proper SharePoint class to derive from. A breakdown of the available SharePoint classes to derive from are as follows: ·         List Items – SPItemEventReceiver ·         List Columns – SPListEventReceiver ·         Site...

 

 

Copyright © Steve Boldt