I need to make the asp button to not refresh the whole page when I click it.
my code is just to make a picture change to another picture but the index of the picture is set in the page load method. And every time you click the button
to go to the next picture index, the whole page refreshes and calls the page load method. That then sets the index back to 0.
how can I make the page stop calling the page load method when I click a button
Thanks in advance!