This topic is locked

After Insert go back to List page

12/6/2007 10:04:27 AM
ASPRunner.NET General questions
P
PugMaster author

Hi i want to be able to go back to the previous list page after inserting a new record, i know you can use the page.redirect after record added but that will not work as it will not go back to the specific set of results that have been filtered? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=6997&image=1&table=forumtopics' class='bbc_emoticon' alt=':rolleyes:' />

Eugene 12/10/2007

You can use AfterAdd event and Response.Redirect("TABLE_NAME_list.aspx") code

P
PugMaster author 12/11/2007

Hi Eugene
Thanx, not sure how it knows to go back to the filtered list but it does the trick.