SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My question was simple in SharePoint 2010 but in SharePoint 2013 is complicated! In 2010 I could redirect user by setting properties.Status and properties.RedirectUrl. Now RedirectUrl and CancelWithRedirect is obsolete. How can i redirect user in event receiver?

Thanks in advance

share|improve this question

You can do it only when the form, which initiates an event, is being rendered in CSRRenderMode.ServerRender mode. You also have to use Response.Redirect. You can check details in the following blog post:

share|improve this answer

In sp 2010 you can get HttpContext.Current in the event reciever constructor. Then in the event handler you can use it to call HhttpContext.Response.Redirect method.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.