You might want to inspect the page and see if the control is rendered as a link (<a>
tag) or an actual button. A button won't post back whereas a link will simply navigate away from the current page. Without seeing your source, it's hard to tell what you have setup.