I have an anchor near the bottom of a page just before a placeholder where error messages are displayed. After the Error message is placed in the placeholder i want the page to go to that anchor.

VB Code:
  1. 'Spamming so do this!
  2.             turnControlsOff()
  3.             connection.connect(Application("SQLServerAddress"), objConn)
  4.             messages.DisplayMessage(plhMessage, 12)
  5.             Session("returning") = True
  6.             connection.Disconnect(Application("SQLServerAddress"), objConn)
  7.             Response.Redirect("msgboard_topic.aspx#Error")

In the above code messages.displayMessage places a label with an error message into a placeholder, without using the response.redirect the Error message is displayed and is persistent during refreshes and stays in place if i manually enter msgboard_topic.aspx#Error in the url address bar.

But when i try and use response.redirect the page moves to the anchor but the message isn't displayed.

Any ideas?