Author: samiwafaa | Posted on: 10/27/2008 1:53:56 AM | Views : 244


Hi all,

here's my code:

enter_btn.Attributes.Add("onclick", "if ( confirm('Sorry, your mobile number can not be found, click ok to select another service')!= true ) return false;")

I want to write an if condition after this line of code, themsg box will pop up with ok and cancel button, if the user clicks okm it should open a certain page and if he clicks cancel it will close the msg box and the remain in the same page, how can I write this using vb.net?

If ............................ Then
Response.Redirect("ServicesE.aspx", True)
End If
...

Go to the complete details ...