This topic is locked

Response.Redirect

4/24/2005 11:48:47 AM
ASPRunnerPro General questions
T
techno author

Hi,
In the previous version I was able to use Response.Redirect to direct the user to a different page after they added/edited a record. I cannot do it in the 3.2 version (produces errors) Would you provide me with the code?
Thanks,

Marie

Sergey Kornilov admin 4/25/2005

Hi,
here is what you need to modify.

..._add.asp and ..._edit.asp files:

rs.Update

rs.Close

response.redirect ....

message="<div class=message><<< " & "Record was added" & " >>></div>"

T
techno author 4/25/2005

Hi,

here is what you need to modify.

..._add.asp and ..._edit.asp files:



Thank You, Sergey! I love the 3.2 version. Just wish that the printer friendly page had the master table (or header) on it too!
I will try that. Please see message 1355. Is there something that I can fix so that I do not get the error message when trying to export to any format by current page only?
Thanks,

Marie

T
techno author 4/25/2005

Hi, Sergey:
That code does not sem to work with the new template on version 3.2
Thanks

Sergey Kornilov admin 4/26/2005

Hi,
did you replace "..." with real page url?
Please post your actual code snippet here.