0
votes
0answers
13 views

Event Reciver on SP2013 - weird behaviour handeling error

I have an event receiver(ItemDeleting) that prevents an item deletion with the following code: properties.Status = SPEventReceiverStatus.CancelWithError; properties.ErrorMessage = ...
0
votes
0answers
17 views

Stop NewDocSet redirection on error

Is there a way, flag/property/bribery, to stop the code-behind in newdocset.aspx from redirecting on error? I have been trying to get the error to appear on newdocset.aspx; the same way as ...
2
votes
1answer
82 views

How can I tell in a Sharepoint 2010 event receiver if the list item was added in datasheet view or not?

I'm a novice Sharepoint developer, so please forgive what is probably a very simple question. I have an event receiver on a custom list in Sharepoint 2010. I need to be able to display custom error ...
0
votes
5answers
3k views

Event Reciever Custom Error Message Page Sharepoint List 2010

I am working on creating event receiver on a specific custom list using visual studio 2010. Below is the screenshot of the error message set on properties. ErrorMessage I'm interested in knowing ...