Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    location.replace in server-side control

    hi,
    I need to call location.replace("anotherpage") code my server side control.
    I know how to call a client-side script from server side. I did it and I used it several times in my project.
    But, when I use it for this; I can still click back button. (it does not work as same as client-side).
    When I use location.replace, I must not able to click back button right? But I can still click if I call it from server-side.
    Any idea about that?
    Thanks.

  • #2
    Regular Coder Nischumacher's Avatar
    Join Date
    Oct 2005
    Location
    Bombay, India
    Posts
    196
    Thanks
    0
    Thanked 2 Times in 2 Posts
    you could use Server.Transfer or Response.Redirect
    - NS 666
    .net DEVILoper


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •