I have an asp.net page, aspx and aspx.cs to display bunch of images.
I like to jump to next or previous image by adding anchor like scroll up/down.
I am using javascrip to jump to any anchor which is working fine by:
window.location.hash = where;
// or window.location.href = "#" + where;
But problem is page reloading. how can I just jumpt to next anchor without reloading the page again because page is not static build by cs code. Due to reload, page is jumped to the top instead desire anchor location.
Can someone help me?