I want to redirect to another page after an item is added to the list. I have referred many links and found the same alternative that is
SPUtility.Redirect("https://www.google.co.in/", Microsoft.SharePoint.Utilities.SPRedirectFlags.Default, context);
But this does not work for me. What can I do to achieve this requirement?