Is there some CSS property or something that I can use with my anchor tag so as to make it unclickable or I HAVE to do stuff in code behind to get what I want?
If the anchor element is a server side element, remove the href attribute. anchor.attributes.remove("href");