Top "Event-receiver" questions

Get SharePoint ListItem's After and Before properties in Event Receiver

So I'm trying to accomplish this kind of functionality on my SharePoint 2010 list: I have a field of type choice …

c# sharepoint event-receiver
How to update field value in current item via event receiver?

EDIT: I've realized that my approach in the second code block was unnecessary. I could accomplish the same thing by …

sharepoint event-receiver
Getting SPContext inside event receiver

I created an Event Receiver, but the problem is that I can't get a reference to the SPContext: SPContext.Current …

c# sharepoint event-receiver spcontext
Create a folder in document library using Sharepoint event receiver

I am using the following code to create a folder inside my document library. The event get triggered and executed …

c# sharepoint-2010 event-receiver
Sharepoint : Event Receiver : Item Adding

Anybody used the "ItemAdding" method successfully in an Event Receiver in Sharepoint for validation? I think it just can't work …

sharepoint event-receiver
How to retrieve list item attachments with SharePoint 2013 Event Receiver in correct order

I've created a Standard SharePoint 2013 Event Receiver on a custom list. Watched Event = "ItemAdded". Later in my code I need …

c# sharepoint attachment event-receiver
Item Adding in event receiver sharepoint 2010

public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); SPItem itemBeingAdded = properties.ListItem; var startTime = itemBeingAdded["Start Time"]; // Some code …

c# sharepoint sharepoint-2007 event-receiver
Sharepoint item updating event - cancel event back to editform page?

I have an event receiver for a content type to validate some data in the ItemUpdating event. If I cancel …

sharepoint event-receiver
Object reference not set to an instance of an object...Error?

Ok so I totally new to C# and am trying to debug an error. Basically I am trying to create …

c# sharepoint event-handling sharepoint-list event-receiver
Custom Error Message for Event Receiver in SharePoint 2010

I want users to upload the .doc files only in the document library. To do so, I have developed an …

sharepoint-2010 event-receiver