ASP.NET: Moving to a named anchor in VB.NET code
Posted on 2005-05-03
I have a web page that is displayed in an IFrame. At the bottom of the page is a Save command button the user clicks when they are done editing and they want to save their changes. It fires a sub of VB.NET code that saves the data in a SQL Server.
At the top of the page is a named anchor that looks like this:
When the user clicks the Save button to save the data, I want to redirect the user to the named anchor at the top of the page so the page is scrolled back to the top of the IFrame. How do I do it?