I have an asp.net form...
I also have a js message box which fires when a user makes a certain selection
When this message box fires the webpage automatically goes to the top of the page
If the user is towards the end of the form and the js box fires - this brings them right back to the top of the page...
Here's my code - is there a way to stop the webpage from bringing the user back to the top when the message box fires?
Hope that makes sense, here's my code...
Dim message As String = "You have the wrong form"
Dim sb As New System.Text.StringBuilder()
ClientScript.RegisterClientScriptBlock(Me.GetType(), "alert", sb.ToString())