04/06/2012

Event Receivers redirect in tabular view

More event handlers and more pain!

Using a custom redirect on ItemDeleting works fine in tabular view with a SINGLE item selected.
e.g.
properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl;

properties.RedirectUrl = "/_layouts/DeleteStub/stubError.aspx?errMsg=" + err;




However when we select multiple items


The event handler kicks in no problem but then the redirect fails miserably!!!



Event handlers have moved from being funky to painful over the last 12 months!


No comments:

Post a Comment