"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:ug**************@TK2MSFTNGP03.phx.gbl...
How can I auomate the 'Back' ie if anything fails return the user to the
previous page
Not sure what you mean exactly... Do you mean Response.Redirect()...?
E.g. if you have a form with some controls which the user fills in, then
hits a "Save" button which creates a new record in a database, if the data
is invalid in some way wouldn't you want to stay on the current page so that
the data is preserved in ViewState and you could pop an alert telling the
user which field(s) contained the invalid data? Then the user could amend
the invalid data and try again...?