Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a custom Sharepoint 2013 list with event receivers attached to it (adding, updating, deleting).

However, it looks like the event receivers are not triggered when the user is adding/editing in quick edit mode/grid edit mode, e.g. when the content of the list is edited as if it was Excel.

The event receivers work fine when editing/adding through the regular forms.

How do I get SharePoint 2013 to trigger event receivers when the user is editing through the grid edit mode?

share|improve this question
    
Apparently, no one is looking at this, but Workflow Item Created events are not firing (i.e. workflows that run on item created are not starting) either if a new item is added via quick edit. Very annoying. –  user17195 May 23 '13 at 13:57
    
@RobertLee, ok, at least its not only me. Might this be a bug in SP2013, or is there a good reason for this behaviour? –  Egil Hansen May 24 '13 at 20:22
    
THe issue was fixed for 2010 only in March 2012. I wonder if 2013 considered/included this already social.technet.microsoft.com/wiki/contents/articles/… –  C. Marius - MVP Oct 2 '13 at 15:18
    
To my knowledge because the DataSheet is practically asynchronous call to SP-WS, I've heard people experiencing this with Sychronous events. Would you be able to change that in your events declaration in Elements.xml file and test for Asynchronous execution? –  C. Marius - MVP Oct 2 '13 at 16:47
    
thanks for the hint, this did the trick. I've changed "added" and "updated" events back to "async" and it worked like a charm. The only question is, how to get the "sync" events to run, because I have some plausibility checks in those. Would you use JSLink instead? Best Regards, Stan. –  user19931 Oct 4 '13 at 14:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.