I have the code below that works in IE but not in Chrome
myherplink.Disabled = true;
I found this link and if you scroll down (the last solution), it has a CSS. I tried that but now, it works in Chrome and the link is disabled, user can't click on it but in IE, it still works..
myherplink.Attributes.Add("style", "pointer-events: none;cursor: default;");
Should I have both lines of code to make it works in both IE and Chrome or is there another way of doing this?