Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
add comment

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.