I thought that this was easier…
I have a asp:hyperlink control, with target=”_blank”, pointing to the file I want the user to download. My plan is to track
target=”_blank”
You can add an onclick to an asp hyperlink like so:
onclick
aHyperlinkControl.Attributes.Add("onclick", "jsCallToSendCountToServer();");