Author: Syerneni84 | Posted on: 10/18/2009 7:23:33 AM | Views : 311

Hi


I have a problem working with below code on button click of the page. On button click, it has to show me a message using java script and on click of okay button on java script message box it has to direct me to last page where I was.
I have used window.history.back() inorder to navigate back to the last page but it's not working.
I will appreaciate your help if you can suggest me best approach for this.



Protected Sub btnsubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsubmit.Click


            InsertUpdateAddress()

            Dim strMessage As String = "Your details has been sucessfully updated."
            'finishes server processing, returns to client.
     ...

Go to the complete details ...