03-01-2011, 08:14 PM
So I have a asp button on my webpage that when clicked it runs (server side) a vb code that puts text in a textbox. But when I click the button, not only does it do what I want it to do, it refreshes the page (but doesnt delete any text in data fields already entered) and scrolls to the top of the web page. Is there any way that I could preven this from happening or can a have some vb code that tells it to scroll to the button I just clicked? I'm using Microsoft Visual Web Developer 2010.