As part of a custom SharePoint application, you will probably want your New/Edit forms to redirect to a different page other than the default List view. The default SharePoint redirect displays the view for the List you are modifying…following this quick tip to redirect to any page after successful List item creation or modification:
Source=
The trick is to define a querystring variable when calling the New/Edit form and set the URL of the page you wish to be redirected after the Item is created/modified. The querystring is “source”.
In your hyperlink, set the page similar to the example below and when you click Ok on the form, you will be redirected to that page instead:
<a href="http://mysharepoint/AppPages/custom_edit.aspx?Source=http://mysharepoint/AppPages/custom_list.aspx">Edit</a>
I’m out…