I need to show an errormessage in a popup or redirecting to another page when an error occurs in the ItemAdded (not ItemAdding...) eventreceiver. Anyone knows how to do this?
I've tried:
private void ShowErrorMessage(SPItemEventProperties properties, string message)
{
properties.Status = SPEventReceiverStatus.CancelWithError;
properties.ErrorMessage = message;
properties.Cancel = true;
}
And set web.config values to CallStack="false" & customError="On". But I guess this only works for ItemAdding event?
Any other solutions for my problem?