Unless I'm missing something, your hyperlinks navigates to other pages, maybe you need a standard button??
Also, if you are using ajax (like I think because you have a collapsible panel), then the solution is at code behind, setting the image to the new link. (or you can do it with js
at client side, but I don't know how).