1

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?

1 Answer 1

3

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

2
  • Post link is not working. MSDN link do not have any example. Can you provide some example or explain? Commented Dec 30, 2015 at 10:14
  • Post link is Spam. This answer should be edited/down-voted/removed Commented Apr 26, 2016 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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