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

I try to redirect user after edit a list to another page in site. So I write this code at the end of my item_updated list handler

Response.Redirect("http://www.somewhere.com");

I pretty sure that this line of code is executed when I debug this handler but the page not redirect to page which I expect.

Is this the correct way to redirect page in Sharepoint?

share|improve this question
up vote 3 down vote accepted

Try to use SPUtility.Redirect method. See this post for more details.

share|improve this answer
    
Post link is not working. MSDN link do not have any example. Can you provide some example or explain? – love thakker Dec 30 '15 at 10:14
    
Post link is Spam. This answer should be edited/down-voted/removed – Clinton Person Apr 26 at 15:36

Your Answer

 
discard

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.