Comment posted by Dan Letecky
16 years ago.
I've tried your code in IE7 and FF2 and in both it works fine.
The problem is that it fires EventClick event before it actually goes to the new URL. You could:
1) Disable EventClick by setting EventClickHandling="Disabled".
2) Use custom JavaScript EventClick handler (EventClickHandling="JavaScript"). You would need to play with the hyperlink a little bit so it can be detected in the JavaScript handler. For all other cases you would call dpc.eventClickCallBack, dpc.eventClickPostBack, or any other desired action.