I created a web part a little while back that has a link to the approve reject screen for a task. Currently this link is opened in a new window. When I updated this link so that it uses the existing window, after the user approves/rejects the task they are redirected to the root page within the site. However I would like for them to be redirected to the page in which the web part was embedded in, or in a worst case scenario hard code a particular page for them to be redirected to.
Is there a parameter I can pass to the approve/reject page so I can indicate which page the user should be redirected to after the task has been completed.
Thanks in advance.
Dave
I worked this one out after having a look at my code. The answer is to update the source parameter.